Click here to Skip to main content
15,915,702 members
Home / Discussions / Web Development
   

Web Development

 
QuestionIIS7 Not passing Headers? Pin
MaxRelaxman6-Feb-09 4:19
MaxRelaxman6-Feb-09 4:19 
QuestionHow to maintain row position in Gridview inside the panel? Pin
hifiger20045-Feb-09 12:20
hifiger20045-Feb-09 12:20 
QuestionMaking controls visible using javascript Pin
nainakarri5-Feb-09 5:29
nainakarri5-Feb-09 5:29 
AnswerRe: Making controls visible using javascript Pin
vaghelabhavesh5-Feb-09 6:04
vaghelabhavesh5-Feb-09 6:04 
GeneralRe: Making controls visible using javascript Pin
megivimal22-Jul-09 4:42
megivimal22-Jul-09 4:42 
QuestionOpen a Large pdf fomr sql database using vbscript, asp clasic Pin
DotNetCoderJunior5-Feb-09 3:00
DotNetCoderJunior5-Feb-09 3:00 
AnswerRe: Open a Large pdf fomr sql database using vbscript, asp clasic Pin
SeMartens5-Feb-09 21:11
SeMartens5-Feb-09 21:11 
QuestionDefaultValue in DataObject used in Webservice [modified] Pin
Roland Bär5-Feb-09 2:03
Roland Bär5-Feb-09 2:03 
QuestionCreating a discussion board / forum Pin
NetQuestions4-Feb-09 20:44
NetQuestions4-Feb-09 20:44 
AnswerLook at DotNetNuke Pin
David Mujica5-Feb-09 3:01
David Mujica5-Feb-09 3:01 
GeneralRe: Look at DotNetNuke Pin
NetQuestions5-Feb-09 18:47
NetQuestions5-Feb-09 18:47 
GeneralRe: Look at DotNetNuke Pin
NetQuestions5-Feb-09 19:52
NetQuestions5-Feb-09 19:52 
AnswerRe: Creating a discussion board / forum Pin
NetQuestions9-Feb-09 18:51
NetQuestions9-Feb-09 18:51 
Questiondouble click on Grid Pin
omlac4-Feb-09 20:19
omlac4-Feb-09 20:19 
hi
I have a datagrid and in it i have put a textbox using the template items and i assign the value of the item ID to the textbox and its working fine, but i want to do a double click on a row and would like to return the value in the text box. I have added an attribute in the itemdatabound event as shown below. My problem is, if i double click my javascript alert function keeps returning the same value.
Does anyone know what im doing wrong.

protected void rdgAccounts_ItemDataBound1(object sender, DataGridItemEventArgs e)
{
if (e.Item.ItemType == ListItemType.Item)
{
string text = ((System.Web.UI.WebControls.TextBox)e.Item.FindControl("txt")).Text;
rdgAccounts.Attributes.Add("ondblclick", "return OpenGrid('" + text + "');");
}
}


function OpenGrid(txt2)
{
alert(txt2);
}
QuestionNamespace..JavaScript [modified] Pin
Amr M. K.4-Feb-09 2:32
Amr M. K.4-Feb-09 2:32 
AnswerRe: Namespace..JavaScript Pin
Jon Rista4-Feb-09 6:27
Jon Rista4-Feb-09 6:27 
QuestionDual Handle slider for web application [modified] Pin
mohit ag3-Feb-09 20:26
mohit ag3-Feb-09 20:26 
AnswerRe: Dual Handle slider for web application Pin
J4amieC4-Feb-09 3:00
J4amieC4-Feb-09 3:00 
JokeRe: Dual Handle slider for web application Pin
Jon Rista4-Feb-09 6:29
Jon Rista4-Feb-09 6:29 
GeneralRe: Dual Handle slider for web application Pin
mohit ag4-Feb-09 20:27
mohit ag4-Feb-09 20:27 
QuestionLocate an application Pin
Jason Lepack (LeppyR64)3-Feb-09 10:41
Jason Lepack (LeppyR64)3-Feb-09 10:41 
AnswerRe: Locate an application Pin
SeMartens3-Feb-09 21:35
SeMartens3-Feb-09 21:35 
QuestionOpening new window using clientscript.registerstartupscript() on clickin linkbutton Pin
nainakarri3-Feb-09 5:43
nainakarri3-Feb-09 5:43 
AnswerRe: Opening new window using clientscript.registerstartupscript() on clickin linkbutton Pin
vaghelabhavesh3-Feb-09 10:58
vaghelabhavesh3-Feb-09 10:58 
GeneralRe: Opening new window using clientscript.registerstartupscript() on clickin linkbutton Pin
nainakarri5-Feb-09 5:19
nainakarri5-Feb-09 5:19 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.