Click here to Skip to main content
15,883,760 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: How can I display a pop-up when hovering over a Gridview row? Pin
Parwej Ahamad12-Jan-11 8:43
professionalParwej Ahamad12-Jan-11 8:43 
GeneralRe: How can I display a pop-up when hovering over a Gridview row? Pin
JTRizos12-Jan-11 8:59
JTRizos12-Jan-11 8:59 
GeneralRe: How can I display a pop-up when hovering over a Gridview row? Pin
JTRizos12-Jan-11 9:08
JTRizos12-Jan-11 9:08 
GeneralRe: How can I display a pop-up when hovering over a Gridview row? Pin
Parwej Ahamad12-Jan-11 9:12
professionalParwej Ahamad12-Jan-11 9:12 
GeneralRe: How can I display a pop-up when hovering over a Gridview row? Pin
Parwej Ahamad12-Jan-11 9:05
professionalParwej Ahamad12-Jan-11 9:05 
AnswerRe: How can I display a pop-up when hovering over a Gridview row? Resolved Pin
JTRizos12-Jan-11 12:22
JTRizos12-Jan-11 12:22 
GeneralRe: How can I display a pop-up when hovering over a Gridview row? Resolved Pin
Parwej Ahamad12-Jan-11 19:17
professionalParwej Ahamad12-Jan-11 19:17 
QuestionFindControl("id"); does not work - another alternative? Pin
lvq6844-Jan-11 4:44
lvq6844-Jan-11 4:44 
Hi.

I have a problem with selecting a control from codebehind.
This is my scenario:

1. i get a string from a webservice (session): string boxstring = "<input type="text" id="MainContent_TextBoxStopRoadName01" name="ctl00$MainContent$TextBoxStopRoadName01">";
2. i insert this string to a <div id="boxcontainer"> from codebehind like this: boxcontainer.InnerHtml=boxstring;
3. Page loads
4. User types text in the box, and clicks a button to submit it
5. How do i find this textfield from codebehind from its id? I would like to get the field as an TextBox control, but the text value is the most important.

I´ve tried several things, like Findcontrol("id") and Findcontrol("id").Findcontrol("id") and so on. But it doesnt work.

Another thing does work though, if instead of a string, I create the textfield as an TextBox control, and then insert it: BoxContainer.Controls.Add(TextBox); - then it works! But it is not a possible solution in my situation. I only have the textbox (among many other elements) in a string.


Really hope you can help!

Thanks Smile | :)
AnswerRe: FindControl("id"); does not work - another alternative? Pin
Manas Bhardwaj4-Jan-11 5:59
professionalManas Bhardwaj4-Jan-11 5:59 
AnswerRe: FindControl("id"); does not work - another alternative? Pin
Espen Harlinn4-Jan-11 10:53
professionalEspen Harlinn4-Jan-11 10:53 
AnswerRe: FindControl("id"); does not work - another alternative? Pin
DoctorMick5-Jan-11 6:01
DoctorMick5-Jan-11 6:01 
AnswerRe: FindControl("id"); does not work - another alternative? Pin
Not Active5-Jan-11 6:17
mentorNot Active5-Jan-11 6:17 
QuestionProblem with getting control id on drag and drop. Pin
Haider M Rizvi4-Jan-11 1:03
Haider M Rizvi4-Jan-11 1:03 
AnswerRe: Problem with getting control id on drag and drop. Pin
daneroo4-Jan-11 5:14
daneroo4-Jan-11 5:14 
Questionoracle connection problem with Xp-32bit Pin
vijay.victory3-Jan-11 20:03
vijay.victory3-Jan-11 20:03 
QuestionNot Opening File Pin
vishnukamath3-Jan-11 0:57
vishnukamath3-Jan-11 0:57 
AnswerRe: Not Opening File Pin
StianSandberg3-Jan-11 1:37
StianSandberg3-Jan-11 1:37 
AnswerRe: Not Opening File Pin
Not Active3-Jan-11 2:42
mentorNot Active3-Jan-11 2:42 
AnswerRe: Not Opening File Pin
Sunasara Imdadhusen5-Jan-11 0:58
professionalSunasara Imdadhusen5-Jan-11 0:58 
AnswerRe: Not Opening File Pin
rt28006-Jan-11 3:06
professionalrt28006-Jan-11 3:06 
QuestionI want to calculate Number of user who click on banner. Pin
Honeyboy_201-Jan-11 4:43
Honeyboy_201-Jan-11 4:43 
AnswerRe: I want to calculate Number of user who click on banner. Pin
Not Active1-Jan-11 5:16
mentorNot Active1-Jan-11 5:16 
AnswerRe: I want to calculate Number of user who click on banner. Pin
Keith Barrow2-Jan-11 1:18
professionalKeith Barrow2-Jan-11 1:18 
AnswerRe: I want to calculate Number of user who click on banner. Pin
Pete O'Hanlon2-Jan-11 4:14
mvePete O'Hanlon2-Jan-11 4:14 
GeneralRe: I want to calculate Number of user who click on banner. Pin
fjdiewornncalwe2-Jan-11 4:28
professionalfjdiewornncalwe2-Jan-11 4:28 

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.