Telerik Forums
Community Forums Forum
8 answers
345 views

Hello,
In some pages of Telerik site we can see large viewstate.
you can simply send viewstate to end of pages for faster download & better indexing in search engines.

My suggestion based on 2 posts from scott
1. Google AdSense and ASP.NET View State
2. Using a Base Class to Fiddle with a Page's Rendered Output
you can use this base class that the ASP.NET pages in your application extend for optimizing output of pages in your site.

using System.IO;
using System.Web.UI;

/// <summary>
/// Summary description for OptimizedBasePage
/// </summary>
public class OptimizedBasePage : Page
{
 protected override void Render(HtmlTextWriter writer)
 {
  StringWriter stringWriter = new StringWriter();
  HtmlTextWriter htmlWriter = new HtmlTextWriter(stringWriter);
  base.Render(htmlWriter);
  
  string html = stringWriter.ToString();
  int StartPoint;
  int SLength;  
  //remove some invisible characters to compress output
  html = html.Replace("\t", "");// tabs
  html = html.Replace("  ", " ");// double spaces
  html = html.Replace(" />", "/>");// space before end of tags
  StartPoint = html.IndexOf("<input type=\"hidden\" name=\"__VIEWSTATE\"");
  if (StartPoint >= 0)
   // does __VIEWSTATE exist?
  {
   SLength = html.IndexOf("/>", StartPoint) + 2 - StartPoint;
   string ViewStateInput = html.Substring(StartPoint, SLength);
   html = html.Remove(StartPoint, SLength);
   int FormEndStart = html.IndexOf("</form>");
   html = html.Insert(FormEndStart, ViewStateInput);
  }
  writer.Write(html);
 }
}

Best regards
Mostafa

Mostafa Anoosheh
Top achievements
Rank 1
 answered on 12 Nov 2006
0 answers
559 views
We have recently published a Skinning Tutorial on our web site.

http://www.telerik.com/documents/SkinningTutorial.pdf


Please, review it and share your feedback.
Does it help you get started with telerik skinning? What is missing from this paper? How would you like us to extend it?

We are dedicated to provide you with all the necessary resources and help you "deliver more than expected" with your UI.

Your comments are very welcome!

Best Regards,
telerik team
Ivo Nedkov
Top achievements
Rank 1
 asked on 10 Nov 2006
3 answers
396 views
Hello.

I have downloaded new Q3 2006 release two or more times and I've got a corrupted binaries (exe and zip). As far there is any complaints by other users, I don't know what cause the file corruption. Previously I have not faced whith such problems.

Anyway I'm asking you for a very significant feature - md5 checksums for each release (thus for each file).
Ivo
Telerik team
 answered on 09 Nov 2006
2 answers
141 views
I am using Nettiers/Codesmith generated code.
But I'm having som etrouble getting started with my grids.
Does anyone have a good example on how to bind a grid to datasource
(including children), an performing updates?

staleb
Top achievements
Rank 1
 answered on 09 Nov 2006
0 answers
111 views
If you have not noticed yet, www.telerik.com is now using Google Mini for all searches on the website. We have great amount of information on our website (Forums, Documentation, Demos, KB, Code Library, Product Descriptions, Blogs, etc) and finding your way through is so much easier now with the integrated Google search.

Enjoy! And let us know if the new search capabilities improve your experience with telerik products.

Best Regards,
telerik team
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 07 Nov 2006
1 answer
218 views
I'm not sure if this question has been posted somewhere before ... sorry if I had repeated the post.

I'm currently evaluating telerik web controls and find that the license key is kept at /RadControls/LicenseFile.xml at web application folder. This has made the LicenseFile.xml available to public if the default license path is used.

I know that this can be solved by changing the license path for each control that is used (this is troublesome if lots of controls are used), or wrap the controls to manually set its license path.

I wonder if other than the above solutions, is there any other suggestion?

Thanks for your time.

Rosi
Telerik team
 answered on 06 Nov 2006
0 answers
82 views
We are happy to announce the first ever CTP version of the telerik Reporting tool. Full information and download info you can find in the Beta Forums here: telerik Reporting Tool CTP available now!

Happy testing!

Vassil Petev
Client Service Director
telerik
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 03 Nov 2006
0 answers
110 views
Dear telerik customers,

I am honored to announce the first official version of r.a.d.controls for WinForms, Q3 2006. Following your feedback from the CTPs, as well as the recent survey, we were able to fix several major bugs, considerably improve the docking mechanism, add a few new examples and themes, and even add 3 new controls to the suite - r.a.d.ListBox, r.a.d.ShapedForm, and r.a.d.SplitButton.

You can find the official release in your Client.Net accounts, under My Licenses.

Enjoy!


Yours,
Vassil Petev
Client Service Director
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 03 Nov 2006
4 answers
265 views
I was sent a patch (Rad Ajax 1.5) and was sent a license to get it rid of a license message after placing it on my host site www.ictminerals.com.

I have a full license for the web telerik suite, so I was NOT expecting this key I was sent to be an expiring key.

It did and now, after speaking with someone in Telerik sales and licensing was told that I can NOT have this problem!!!

My site is down and Telerik will not send me a new key to fix this problem even though I have a full suite license!!!

This is not acceptable.   If there was a misunderstanding that's fine that happens, BUT support your customers.  When a site is down take this seriously.

I hope SOMEONE takes this seriously ....

Peter Bauer
Ict Computing, Inc.
Peter Bauer
Top achievements
Rank 1
 answered on 02 Nov 2006
1 answer
132 views

I am looking for a an example of an application with the following capabilities:

MUlti-page control with a tab strip with three tabs - Browse/Edit1/Edit2
Browse Tab - grid with records from a table
Edit1 Tab - fields for one record
Edit2 tab - more fields from the same record

Operation - user selects record on "Browse" page and then goes to "Edit1" page or "Edit2" page to view/change the data (ideally, AJAX would be used to retrieve the data for the selected record)

I would like a working sample that uses NorthWind or AdventureWorks customer table.

I am willing to pay for the sample.

Thanks

jcean
Top achievements
Rank 1
 answered on 01 Nov 2006
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?