Showing posts with label grid. Show all posts
Showing posts with label grid. Show all posts

Wednesday, March 28, 2012

Tree Control within Grid Control using AJAX and ASP.Net

Hi, I need a tree control inside a grid control, i.e.., every node of the tree should be a row in the grid control. I want to implemented this using AJAX. Please let me know how this has to be implemented.

Hi

every node of the tree should be a row in the grid control?

I'm afraid you cann't implement this,Html can be writed like this.

Best Regards

Tree Control within Grid Control using AJAX

Hi,
I need a tree control inside a grid control, i.e.., every node of the tree should be a row in the grid control.
I want to implemented this using AJAX. Please let me know how this has to be implemented.

Hi TinyTin,

I have found that you have posted the same thread on Asp.Net Ajax UI with this url: http://forums.asp.net/t/1141859.aspx. so we will mark it as "resolved", if you have any problems or new findings , please feel free to reply onhttp://forums.asp.net/t/1141859.aspx.

By the way, based on my experience, I'm afraid that we cannot achieve what you want by using any controls in Ajax Control Toolkit directly. Thanks.

Best Regards,

Jonathan

Saturday, March 24, 2012

Trigger UpdatePanel after Page is loaded

HI, i was wondering if UpdatePanel could be trigger after the page is loaded.
Im trying to load a grid view inside an update panel without using any button event.

Thanks!

you could use a timer:

<asp:Timer ID="refreshTimer" runat="server" Interval="1000">
</asp:Timer>

<asp:UpdatePanel>
<Triggers>
<asp:AsyncPostBackTrigger ControlID="refreshTimer" EventName="Tick" />
</Triggers>
</asp:UpdatePanel>

The update panel will be refreshed every 1 second, so you could decide what to show in it without any button events.


Thanks Yani for the reply, but using the timer will always refresh may updatepanel and this will create/increase server process a lot.

Still havent found a solution to my problems thru self coding. Looks like im going to use xmlhttp to load a div tag and put it inside an update panel so that when a year list box is changed it will reload the div content via javascript again.

Is there an alternative way in doing this?


Use Year select box(DropDownList) as an AsyncPostbackTrigger And put the Gridview inside update panel.


If I'm understanding correctly, you want to load the page initially with an empty UpdatePanel and then immediately do an async postback to load the contents of the UpdatePanel, right? (I assume this is because it takes a long time to load the data for that UpdatePanel.)

Check out my latest blog post:http://smarx.com/posts/delayed-load-with-an-updatepanel.aspx.

Wednesday, March 21, 2012

Trouble using AJAX UpdatePanel with Small Business Starter Kit

Has anyone else had trouble using AJAX 1.0 for ASP.NET 2.0 with the Small Business Starter Kit? I have put a grid control inside an UpdatePanel and when I click the column headers to sort the grid I get a full page refresh and a JavaScript error.

The Fish.

Check out thislist of common problems and solutions

-Damien


Hi,

Thanks for your post.

But how should we solve it if you don't privide any useful information scuh as code or error message?

Regards,