Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~11.4K People Reached
Favorite Tags
Member Avatar for lisles

im trying to open a document...but every time i get a dialoge box asking if i want to pen,save or cancel.i just want to open the document.can someone tell me wot im doing wrong?here's my code [code] if (objView.extension == ".pdf" || objView.extension == ".xls" || objView.extension == ".xlsx" || …

Member Avatar for rohand
0
88
Member Avatar for lisles

im trying to open a document...but every time i get a dialoge box asking if i want to pen,save or cancel.i just want to open the document.can someone tell me wot im doing wrong?here's my code [code] if (objView.extension == ".pdf" || objView.extension == ".xls" || objView.extension == ".xlsx" || …

Member Avatar for Ketsuekiame
0
111
Member Avatar for lisles

I have 5 textboxs, 1 button and 1 Gridview control. I just want that when I click the button, text of each textbox will be added in the Gridview in separate column. Each time I will click the button, a new row must be inserted in the Gridview below the …

Member Avatar for hirenpatel53
0
126
Member Avatar for lisles

how to open datalist containing multiple images on click on link button in selectedIndexChanged [code] protected void SelectedIndexChanged(object sender, EventArgs e) { dlEvntImages.Visible = true; BLL_NewsAndEvents objNE = new BLL_NewsAndEvents(); objNE.title = dlEvents.DataKeys[dlEvents.SelectedIndex].ToString(); objNE.getImageDetails(); if (objNE.tests) { DataList dllEvntImages = (DataList)FindControl("dlEvntImages"); //Label lblMsg1 = (Label)FindControl("lblMsg"); Label lblMsg1 = (Label)dllEvntImages.FindControl("lblMsg"); //(dlEvntImages.SelectedItem.FindControl("lblMsg")); …

Member Avatar for dnanetwork
0
546
Member Avatar for lisles

Hi.i want to use a ajax updatepanel.on postnack i only want the datalist "dlEvnt" to get refreshed.but thats not happening.can anybody tell me what to do. Here's my code [code] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="news_evnts.aspx.cs" Inherits="news_evnts" %> <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %> <!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for lisles
0
153
Member Avatar for lisles

hi; Im using a gridview to display images in 1 of the column...but the size of the images is very small.is there anyway to enlarge the image on mouseover or even without mouseover by adjusting the column width or something.i would prefer doing it by mouseover.can anybody help me...my code …

Member Avatar for lisles
0
615
Member Avatar for lisles

i have a datalist that displays the titles of events.When i click a title i want to display the event details like date,venue,description... outside the datalist this is my code: [code] <asp:DataList ID="dlEvents" runat="server" HorizontalAlign="Left" GridLines="Both" OnSelectedIndexChanged="SelectedIndexChanged"> <HeaderTemplate> Events </HeaderTemplate> <HeaderStyle Font-Bold="true" Font-Size="16px" /> <ItemTemplate> <table onmouseover="dg_changeBackColor(this, true);" onmouseout="dg_changeBackColor(this, false);"> …

Member Avatar for lisles
0
186
Member Avatar for lisles

im working with asp.net 2.0 and im using master pages.i have a link to a pdf file...when i click on the link i want the pdf to open within the contentplaceholder.im using iframe within the content placeholder.my master page code is below: [code] <%@ Master Language="C#" AutoEventWireup="true" CodeFile="jm.master.cs" Inherits="jm" %> …

Member Avatar for kvprajapati
0
900
Member Avatar for lisles

i cannot pass the result of mysql_fetch_object to another function. [code=php] function sessionStartCase($challenge,$user,$pass){ global $conn; $ipaddress = $_SERVER['REMOTE_ADDR']; $url = $_SERVER['PHP_SELF']; if (isset($challenge) && isset($user) && isset($pass)) { $password = getPasswordForCase($user); echo $result->case_user_id; //if( @mysql_num_rows($row) ) { //$result = @mysql_fetch_object($row); if (validate($challenge, $pass, $password)) { echo "valid"; $result->case_user_pass; echo $result->case_user_id; …

Member Avatar for whiteyoh
0
117
Member Avatar for lisles

can any1 tell me whats wrong with my code.i cannot edit my data [code=php] $sql=caseQuery("select dt from update_dt where dt_id=1"); $row=mysql_fetch_array($sql); $dt=$row["dt"]; <div style="position:absolute; top: 250px; left: 500px; width: 4639px; height: 109px;"> <fieldset style="width:20px"> <legend ><b><NOBR>Edit Date</NOBR></b></legend> <form name="frm" action="location.php" method="post" > <table width="250" border="0"> <tr> <td> Date </td> <td><input …

Member Avatar for urtrivedi
0
85
Member Avatar for lisles
Member Avatar for lisles

I want to echo a message before redirecting.the message gets displayed but it disappears very soon.is it possible to increase the time of display before redirect.this is my code [code=php] if($result) {echo "Data has been edited"; redirect('edit.php'); } else { echo "<p>cannot update your data<p>"; } function redirect($loc){ echo "Reset …

Member Avatar for OS_dev
0
2K
Member Avatar for lisles

hey,can any1 tell me what im doin wrong here.im trying to upload a pdf file but the file is not gettin uploaded.here's my code [code=php] <?php require_once "../inc/functions.php"; sessionCheck(); session_start(); $old_sessionid = session_id(); //i've added these lines session_regenerate_id(); //i've added these lines $new_sessionid = session_id(); if($_POST['submit'] && $_FILES['txtFile']['name']){ global $uploadPath; …

Member Avatar for lisles
0
94
Member Avatar for lisles

i want to display a confirmation message when a user clicks delete.can any1 tell me how i could do it with javascript and php here's my code [code=php] $id=$r["sr_no"]; if($r['district']==1 || $r['district']=='North') { $r['district']=North; echo "<tr><td >{$r['sr_no']}</td><td >{$r['name']}</td><td >{$r['designation']}</td><td >{$r['dte']}</td><td >{$r['ph_o']}</td><td >{$r['ph_m']}</td><td >{$r['ph_r']}</td><td >{$r['district']}</td><td >{$r['taluka']}</td><td >{$r['pan_name']}</td><td><a href='edit.php?cmd=edit&id=$id'>Edit</a></td><td><a href='edit.php?cmd=delete&id=$id' >Delete</a></td></tr>"; echo …

Member Avatar for muralibobby2015
0
6K
Member Avatar for lisles

hey can any 1 tell me how i can validate a name field to allow only alphabets and spaces.i tried this [code=php] else if(ereg('[ ^ A-Za-z ]', $name)) {echo "<h5>YOU CAN ENTER ONLY ALPHABETS</h5>"; $errCnt++; } [/code] but this allows only alphabets.i cannot enter a space

Member Avatar for muralibobby2015
0
87
Member Avatar for lisles

hey,i have a login form wherein the take the username and password from the user and submit the form.im using burpsuite t check 4 threats.when i click on the submit button the password is visible.is it possible to encrypt the password as soon as enter it instead of passing it …

Member Avatar for cwarn23
0
108
Member Avatar for lisles

hey is there any way i can dynamicallay pupulate 3 drop downs ie when based on d selection of a value from 1st drop down populate 2nd drop down and based on value selected in 2nd srop down populate 3rd drop down,but i wan this to happen in my edit …

Member Avatar for saiprem
0
99
Member Avatar for lisles

hi,im having a problem with my code.im trying to edit data that im retrieving from my database tables.but im unable to submit the data after editing it.my code is shown below [code=php] <?php require_once "../inc/functions.php"; require_once "../inc/vars.inc.php"; sessionCheck(); session_start(); $old_sessionid = session_id(); //i've added these lines session_regenerate_id(); //i've added these …

Member Avatar for nav33n
0
226
Member Avatar for lisles

hi,i thought i'd fixed this prb,but i have'nt.i have a edit form with a drop down.i want the drop down to show the value that is saved in the databse along with the other values.ie,when i click the edit form,the value in the drop down that is visible should be …

Member Avatar for lisles
0
126