Page jumping problem.
Hi there,
I have a problem about page jumping. OK, here we go.
There is a page which contains the following stuff.
plus.
I use the NeedDataSource event to bind the data source.
And i rebind it when as the following, otherwise, when it come back, there is no data in the datagrid.
protected override void InitializeControls(GenericContainer controlContainer)
try
InitializeURL();
InitializePageEventHandlers();
// InitializeConnections();
if (Page.IsPostBack)
RadGrid1.Rebind();
catch (Exception ex)
throw ex;
anybody please?
Hello Jeff,
In order to identify the problem and provide you with a solution, we may need the whole control / code you are using including any additional references / assemblies that may be needed.
Kind regards,
Victor Velev
the Telerik team
Hi
Hi
i cannot upload the attachment!!!!
data
OR from the below link.
https://skydrive.live.com/redir.aspx?cid=b91918c961f0ee97&resid=B91918C961F0EE97!2078&parid=B91918C961F0EE97!113
Hi Jeff,
We downloaded the project you sent us, but it seems to be missing a project from the solution, which seems to be critical for running the project. We looked through the code, but without having a SF sample website or simple ASP website which reproduces the issue we cannot confirm the origin of the project. Can you tell us whether you have tested the scenario in working Sitefinity project or an ASP.NET website?
Also if you are using IE, you may be experiencing the page jumping behaviour if for example you try to focus on a an element that is not entirely visible; therefore the page may ' jump ' in order to show the whole item.
All the best,
Victor Velev
the Telerik team
Hi buddy,
Anybody please?
Hi Jeff,
We took a look at your code, but we were able to find out only that you are rebinding the datagrid, in a try - catch block while you are calling the same action in InitializePageEventHandlers();
However we could really understand the use case scenario of the full code. Can you please explain to us in more details?
Regards,
Victor Velev
the Telerik team
Hi Victor,
Thanks for your response.
Hi Jeff,
The described behaviour seems to be valid on the sample site you sent us. Please check the attached video. Another way to do it is to use sessions for example. You can review the RadGrid demos on our site and the attached articles:
www.dotnetspider.com/.../41215-Ajax-Telerik-Rad-Grid-Control.aspx
http://www.telerik.com/help/aspnet-ajax/grid-saving-viewstate-in-session.html
demos.telerik.com/.../defaultcs.aspx
Regards,
Victor Velev
the Telerik team
Yes, i know, it can jump.
But there are also some problems along with that solution!
1. After you click Go and then Click Back button, the cols in the colgroup will increase.
You can verify this through view the generated html code.
2. After you click Go and then Click Back button, the column name got is incorrect.
The comment out line could get the correct column name, but i'm not sure, that is the correct way to do this.
3. After i close the window opened by radopen, it will refresh the
parent page, and then, it may cause the parent page go to a page that
displays the similar content display in the opened window.
And i want to know how to solve this.
It seems like nobody knows what's going on here...