A
Ahmzee
Hi All,
I am developing webpart for Sharepoint Portal Server.Webparts inherit
webcontrol and are similar to web custom controls.
The problem i am faing is that if i create controls (LinkButtons) in
the CreateChildControls Method it's click event works perfactly.
But if i create controls (LinkButtons) in the RenderWebPart Method it's
click event doesn't work....WHY ?
the sequence in which the events are executing is debugged to be
1 - CreateChildControls
2 - Control's Event
3 - RenderWebPart
I came to know in the click event what UI to Create so i can't use
CreateChildControls as it has already been executed so i want to to do
it in RenderWebpart.
For creating controls / UI am calling the same function from both
CreateChildControls and RenderWebPart, but it doesn't work in the
later.
plz Help
Ahmzee.
I am developing webpart for Sharepoint Portal Server.Webparts inherit
webcontrol and are similar to web custom controls.
The problem i am faing is that if i create controls (LinkButtons) in
the CreateChildControls Method it's click event works perfactly.
But if i create controls (LinkButtons) in the RenderWebPart Method it's
click event doesn't work....WHY ?
the sequence in which the events are executing is debugged to be
1 - CreateChildControls
2 - Control's Event
3 - RenderWebPart
I came to know in the click event what UI to Create so i can't use
CreateChildControls as it has already been executed so i want to to do
it in RenderWebpart.
For creating controls / UI am calling the same function from both
CreateChildControls and RenderWebPart, but it doesn't work in the
later.
plz Help
Ahmzee.