Click here to Skip to main content
16,005,389 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionHow to do Confirmation while submit button with dynamic Text? Pin
Snehal_14_2_834-Jul-08 23:51
Snehal_14_2_834-Jul-08 23:51 
AnswerRe: How to do Confirmation while submit button with dynamic Text? Pin
Muhammad Gouda5-Jul-08 0:12
Muhammad Gouda5-Jul-08 0:12 
GeneralRe: How to do Confirmation while submit button with dynamic Text? Pin
Snehal_14_2_835-Jul-08 0:27
Snehal_14_2_835-Jul-08 0:27 
GeneralRe: How to do Confirmation while submit button with dynamic Text? Pin
doWhileSomething5-Jul-08 6:36
doWhileSomething5-Jul-08 6:36 
GeneralRe: How to do Confirmation while submit button with dynamic Text? Pin
Muhammad Gouda5-Jul-08 21:33
Muhammad Gouda5-Jul-08 21:33 
AnswerRe: How to do Confirmation while submit button with dynamic Text? Pin
Arindam Tewary5-Jul-08 1:50
professionalArindam Tewary5-Jul-08 1:50 
GeneralRe: How to do Confirmation while submit button with dynamic Text? Pin
doWhileSomething5-Jul-08 6:40
doWhileSomething5-Jul-08 6:40 
QuestionAsp.Net Ajax - Problem referencing object to a ModalPopupExtender within a gridview row. Pin
Larantz4-Jul-08 23:12
Larantz4-Jul-08 23:12 
Hi.
I couldn't find a forum for Ajax so I guess it falls under asp.net. Smile | :)

I'm working on a timesheet control that consists of a gridview with a column for each day.
The column consists of a textbox for working hour input and an imagebutton for entering a comment for the given day.

I've been trying to add a ModalPopupExtender to the item template and to set the imagebutton ClientID to the extenders TargetControlID property. This is for displaying the input controls for the comment.

Setting the imagebutton id to the TargetControlID property in the markup doesn't work as the imagebuttons id is dynamically created for each row when the gridview performs the databinding.

I've been experimenting with the gridviews OnPreRender method where I iterate over the rows, locate the imagebutton and extender for the given row, and set the TargetControlID.

I get a asp.net error stating:
The TargetControlID of 'commentModalPopupExtender' is not valid. A control with ID 'ctl00_Main_timesheetControl_gvTimeSheet_ctl02_imBtnMondayComment' could not be found.

As far as I know, that id looks exactly right according to what I've seen when I look at the source of the page.

Anyone who've encountered (and solved) this problem?

Best regards!
Larantz

for those about to code, we salute youhttp://www.itverket.noPlease refer to the Forum Guidelines for appropriate posting.

Questionhow to generate invoice no Pin
kimo code4-Jul-08 23:01
kimo code4-Jul-08 23:01 
AnswerRe: how to generate invoice no Pin
www.Developerof.NET4-Jul-08 23:40
www.Developerof.NET4-Jul-08 23:40 
GeneralRe: how to generate invoice no Pin
kimo code4-Jul-08 23:44
kimo code4-Jul-08 23:44 
GeneralRe: how to generate invoice no Pin
Muhammad Gouda5-Jul-08 0:00
Muhammad Gouda5-Jul-08 0:00 
AnswerRe: how to generate invoice no Pin
Muhammad Gouda4-Jul-08 23:43
Muhammad Gouda4-Jul-08 23:43 
GeneralRe: how to generate invoice no Pin
kimo code4-Jul-08 23:51
kimo code4-Jul-08 23:51 
GeneralRe: how to generate invoice no Pin
Muhammad Gouda5-Jul-08 0:03
Muhammad Gouda5-Jul-08 0:03 
AnswerRe: how to generate invoice no Pin
Christian Graus5-Jul-08 1:23
protectorChristian Graus5-Jul-08 1:23 
GeneralRe: how to generate invoice no Pin
kimo code5-Jul-08 3:12
kimo code5-Jul-08 3:12 
QuestionHow to avoid mails in spam folder?? Pin
vidyasankarmca4-Jul-08 22:53
vidyasankarmca4-Jul-08 22:53 
AnswerRe: How to avoid mails in spam folder?? Pin
Colwin6-Jul-08 20:58
Colwin6-Jul-08 20:58 
Questionhow to substract one Datetime to an other ? Pin
Rameez Raja4-Jul-08 22:21
Rameez Raja4-Jul-08 22:21 
AnswerRe: how to substract one Datetime to an other ? Pin
Gayani Devapriya4-Jul-08 22:41
Gayani Devapriya4-Jul-08 22:41 
QuestionDropDownList Pin
Murugavel Sadagopan4-Jul-08 21:19
Murugavel Sadagopan4-Jul-08 21:19 
AnswerRe: DropDownList Pin
subai4-Jul-08 21:39
subai4-Jul-08 21:39 
AnswerRe: DropDownList [modified] Pin
Gayani Devapriya4-Jul-08 22:20
Gayani Devapriya4-Jul-08 22:20 
AnswerRe: DropDownList Pin
Wasif Ehsan4-Jul-08 23:03
Wasif Ehsan4-Jul-08 23:03 

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.