|
sanrah wrote: I have around 200+ controls in a page
Instead of thinking of a solution to the problem, I would rather sit and re-design the interface and the workflow.
It does not make sense to have 200+ controls on a single page...
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
I would first consider the design of your page. Are all 200+ controls necessary on a single page or could it be broken into several pages? It may make sense to you but the user will probably be overwhelmed by so many controls on a single page.
Otherwise, you'll need to
1) Use JavaScript to create the controls dynamically
2) Use AJAX calls to retrieve the html to insert into your page
only two letters away from being an asset
|
|
|
|
|
If you can't divide the page then try to use JQuery and AJAX calls
to dynamically create the required controls which will increase the performance.
- Regards - J O N
A good thing is a bad thing if it keeps you from the best thing. - Dr. Adrian Rogers
|
|
|
|
|
when the page loads, i just want to see 10 controls loaded from db, which is n 1 div. when i click on the next div header, next div details with 10 controls are loaded. but all these 12 divs are loaded from db when the page loads itself.
All these things are designed and developed. what i was asked is performance tuning. Note that, they are using Telerik controls in the pages. I have tried with Telerik RADAJAXManager. but am facing a problem with javascript calls in this.
Pls help.
|
|
|
|
|
Don't have much exposure to telerik controls.
why don't you try using a tab control?
jus check whether telerik has a tab control which
will dynamically load the corressponding section
on the tab click.
- Regards - J O N
A good thing is a bad thing if it keeps you from the best thing. - Dr. Adrian Rogers
|
|
|
|
|
Hi all,
I want to redirect to the called page(aaa.aspx) after i logged in.By default i redirected to some other page(bbb.aspx).How to redirect to the called page .Please help me..
|
|
|
|
|
Response.Redirect("aaa.aspx",false);
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
I guess, the question is "how to redirect to the requested page instead of default page after login?"
- Regards - J O N
A good thing is a bad thing if it keeps you from the best thing. - Dr. Adrian Rogers
|
|
|
|
|
What is wrong with the answer i gave ?
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
It doesn't help at all. He wants his page to redirect to the login, and then whatever page the user went to, it goes back to.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Try To add the code
in
protected void Login1_LoggedIn(object sender, EventArgs e)
{
Response.Redirect("yourPage.aspx");
}
|
|
|
|
|
check for Request.QueryString["ReturnURL"] != null
to redirect to the requested PageURL
if (Request.QueryString["ReturnUrl"] != null)
{
Response.Redirect(Request.QueryString["ReturnUrl"]);
}
else
{
Response.Redirect("default.aspx");
}
- Regards - J O N
A good thing is a bad thing if it keeps you from the best thing. - Dr. Adrian Rogers
|
|
|
|
|
I would recommend to use Server.Transfer from aaa.aspx.
|
|
|
|
|
Thank you all for your response.I got idea from the answers.
|
|
|
|
|
All The Best
|
|
|
|
|
Yes. This is cool. But seems that you gave me "Bad Answer". Is there any reason for that.
I think if you are in a page already you dont need to Redirect again.
|
|
|
|
|
sorry again
but aspxcombobox(for Developer Express) has not any DataSource ?
|
|
|
|
|
|
Hi,
In my website when users are downloading their Microsoft office 2007 files like the ones with .docx , .xlsx,.pptx extensions they are getting downloaded as .zip folders.This problem is happening only in google chrome browser.Thanks in advance for any suggestions and solutions.
Regards
jophin
|
|
|
|
|
Sonds like the browser is zipping them. I doubt there's anythign you can do about it then.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I think the there must be problems with filename...
I have downloaded lots of files in chrome and never found such issue.
|
|
|
|
|
How can I change the date type of a textbox in a Formview?
Thanks.
|
|
|
|
|
What do you mean ? A text box contains text. You can put a date in there, but only by rendering it as text. Your question makes no sense.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
I know. At the moment the text box contains a date rendered as text, but it is a date field in SQL DB. At the moment the format is "date time" and I want to change it to only "date".
|
|
|
|
|
MrRhodos wrote: and I want to change it to only "date".
CG Is Correct .!
Please try To ask the Question In Brief..!
It Is Nothing to do with TextBox .In PageLoad.You Have to change the value of Date From Db and convert it into Your Fomat and Display it in TextBox
|
|
|
|