Click here to Skip to main content
15,905,323 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Design view in asp.net Pin
BalasubramanianK1-Jul-08 23:25
BalasubramanianK1-Jul-08 23:25 
Questionasp.net C# 2.0 generate pdf file Pin
wongeva1-Jul-08 21:37
wongeva1-Jul-08 21:37 
AnswerRe: asp.net C# 2.0 generate pdf file Pin
eyeseetee1-Jul-08 21:56
eyeseetee1-Jul-08 21:56 
Questionhow to place the check boxes in the list box Pin
lakshmichawala1-Jul-08 21:24
lakshmichawala1-Jul-08 21:24 
AnswerRe: how to place the check boxes in the list box Pin
Abhijit Jana1-Jul-08 21:31
professionalAbhijit Jana1-Jul-08 21:31 
GeneralRe: how to place the check boxes in the list box Pin
lakshmichawala1-Jul-08 21:33
lakshmichawala1-Jul-08 21:33 
AnswerRe: how to place the check boxes in the list box Pin
Abhijit Jana1-Jul-08 21:39
professionalAbhijit Jana1-Jul-08 21:39 
AnswerRe: how to place the check boxes in the list box Pin
Imran Khan Pathan1-Jul-08 23:41
Imran Khan Pathan1-Jul-08 23:41 
Questiona problem in workflow Pin
ptvce1-Jul-08 21:17
ptvce1-Jul-08 21:17 
QuestionAccessing value from .aspx to code behind page Pin
nagendrathecoder1-Jul-08 20:57
nagendrathecoder1-Jul-08 20:57 
AnswerRe: Accessing value from .aspx to code behind page Pin
N a v a n e e t h1-Jul-08 21:05
N a v a n e e t h1-Jul-08 21:05 
AnswerRe: Accessing value from .aspx to code behind page Pin
eyeseetee1-Jul-08 21:58
eyeseetee1-Jul-08 21:58 
AnswerRe: Accessing value from .aspx to code behind page Pin
Abhijit Jana1-Jul-08 22:27
professionalAbhijit Jana1-Jul-08 22:27 
GeneralRe: Accessing value from .aspx to code behind page Pin
N a v a n e e t h1-Jul-08 22:34
N a v a n e e t h1-Jul-08 22:34 
GeneralRe: Accessing value from .aspx to code behind page Pin
Abhijit Jana1-Jul-08 22:38
professionalAbhijit Jana1-Jul-08 22:38 
AnswerRe: Accessing value from .aspx to code behind page Pin
nagendrathecoder1-Jul-08 23:30
nagendrathecoder1-Jul-08 23:30 
Questionbutton in gridview's header not fired event Pin
Mhiny1-Jul-08 20:48
Mhiny1-Jul-08 20:48 
AnswerRe: button in gridview's header not fired event [modified] Pin
Sherin Iranimose1-Jul-08 21:25
Sherin Iranimose1-Jul-08 21:25 
GeneralRe: button in gridview's header not fired event Pin
Mhiny1-Jul-08 21:57
Mhiny1-Jul-08 21:57 
GeneralRe: button in gridview's header not fired event Pin
Sherin Iranimose1-Jul-08 22:12
Sherin Iranimose1-Jul-08 22:12 
GeneralRe: button in gridview's header not fired event Pin
Mhiny1-Jul-08 22:19
Mhiny1-Jul-08 22:19 
GeneralRe: button in gridview's header not fired event Pin
Sherin Iranimose1-Jul-08 22:33
Sherin Iranimose1-Jul-08 22:33 
AnswerRe: button in gridview's header not fired event Pin
eyeseetee1-Jul-08 22:00
eyeseetee1-Jul-08 22:00 
GeneralRe: button in gridview's header not fired event Pin
Mhiny1-Jul-08 22:09
Mhiny1-Jul-08 22:09 
GeneralRe: button in gridview's header not fired event Pin
eyeseetee1-Jul-08 22:22
eyeseetee1-Jul-08 22:22 
Well you have created the button at runtime in your row data bound event.
But how does the button know which onclick event to use?
Either you have done it wrong or I am confused as to what you have done. Smile | :)

I think you need to add this when your button is created:

btn.Click += new EventHandler(sub_Click);



We are not a Code Charity

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.