Hi I'm using the WARP panel to update a grid on a content page that inherits from a master page.
I had a button control to active the refreshing of a grid inside the WARP panel, but it does a page postback.
WebAsyncRefreshPanel1.AddLinkedRequestTrigger("Button1") on page load
and also setting the ControlToTrigger property of the WARP panel with no luck.
When i took it out of the master page and used a normal ASPX page it works find....
Can someone please help....
Thanks
Hi Rheza,
try:WebAsyncRefreshPanel1.AddLinkedRequestTrigger(Button1)
The ID of the control is no string, so simply remove the quotation marks.HTH,Andreas
Hi Rhezza,
I am another victim telling you thank you so much. but for the record, if you don't use master pages then I can use "Button1" and it works, but in master pages I had to get rid of the "".
Thanks again.
Federico.
OMG !!!!
Thanks you soo much... It was really getting on my nerves, but ure suggestion works.
The infragistics help sdk actually had this code...
In Visual Basic:
Private Sub Page_Load(ByVal sender As System.Object, _ ByVal e As System.EventArgs) Handles MyBase.Load Me.WebAsyncRefreshPanel1.AddLinkedRequestTrigger("WebImageButton1") End Sub
Private Sub
ByVal
As
Handles MyBase
Me
End Sub
Which is totally wrong...
should be
WebAsyncRefreshPanel1.AddLinkedRequestTrigger(Button1)
Thanks Again amischke