Telerik Controls – CSS Lost on Page Postback in Chrome and Mozilla firefox
After long time i am writing this tips on my blog.
This is very small but usefull trick about telerik controls.
Telerik controls like “Tree View”, runs fine in Internet explorer but it fails loading CSS in Mozilla or chrome. To overcome this, use below line of code in Page_Load method.
protected void Page_Load(object sender, EventArgs e)
RadTreeView1.EnableAjaxSkinRendering = true;
I hope this would help. 🙂
DataGrid, GridView, DataList and Repeater Control in ASP.net
In Previous articles, i have written article about DataGrid.
DataGrid, GridView and DataList controls are derived from the WebControl class, while the Repeater control is derived from the Control class. The WebControl class contains a number of properties, such as BackColor, ForeColor, CssClass, BorderStyle and so on.
In ASP .NET basically there are four kinds of the Data Presentation Controls.
GridView (more options)
Repeater (less options)
List of different abilities of Repeater Control, Datalist Control and GridView Control features.
Continue reading “DataGrid, GridView, DataList and Repeater Control in ASP.net”
How to use the log 4 net in .Net application. Example, demonstration and sourcecode
Logging is the part of development which is normally not included in Product / Software release but
at the same time it is necessary to create the logging mechanism in your software module.
Continue reading “Logging made easy in .NET – log 4 net”
Step by step description to set the Session.Timeout in IIS(Internet Information Services) Server for ASP.NET
Open IIS (Type inetmgr in run window ) , then right click on the websites and go to the Properties window.
Now go to Home Directory
Continue reading “Set Session Timeout in IIS (Internet Information Services)”
How to read value from Configuration file – app.config or web.config in C# application or web application
One of the best practice used in .NET application is to store the constants like Database connection in
app.config in case of dll or standalone application or web.config in case of websites.
To achieve this, we have to follow below steps:
add reference of System.Configuration in .NET
Lets consider below code in
Continue reading “How to read value from Configuration file – ( app.config or web.config )”
Utility program to find that current connection is secured or not, connection is http or https. Create dynamic URL in ASP.NET. Example of Page.ResolveUrl() in ASP.Net.
I am writing this article after very long duration. Have lots of tips to share from my toolbox, so here few about the dynamic creation of URL in ASP.NET:
one way to achieve this is like :
"http://" Request.ServerVariables["HTTP_HOST"] + "/jsfolder/jsfilename.js";
In above snap you can see that HTTP_HOST is used. This server variable returns the address of your domain. Still, above code is not 100% functional.protocol may be
http or https.
Continue reading “Create URL dynamically in ASP.NET”
Tutorial on adding the CSS file dynamically in ASP.NET and C# / VB.Net
Continue reading “Add CSS Programatically in ASP.NET”
Usage of Response.Flush method in ASP.NET, its disadvantage and advantage of buffering in IIS.
IIS5 enables buffering by default, therefore all the output from your ASP is actually sent to the browser only when the page completes its processing. In many cases this approach improves the overall processing speed, and indirectly makes for a more scalable site.
However, buffering has two minor defects:
The end user might perceive a loss in speed, because she won’t see any output until the page is complete, and
Buffered output has to be maintained on the server, therefore your ASP application is going to take more memory than it would do if buffering were disabled. On server machines with an inadequate amount of memory, large HTML pages can reduce the overall performance.
Continue reading “Response.Flush in ASP.NET”
Solution of Multiple time page load problem of Telerik Rad Window.
In Previous article, i have discussed the multiple times firing of telerik Rad Window and its solution at code side. (C#)
How to set the problem of loading popup three time…
Any page must have only one RadWindowManager, if have more than one manager then usually it sets the setting of first manager….
Ambiguity ReloadOnShow must be false. Instead of this use below technique.
reload option. And therefore no need of this flag.
Continue reading “Page loads multiple times in Rad Window”
This article explains the basics to use Google desktop and Tips to search for file in Particular Folder
Google desktop from Google has been discontinued, so below article will not be useful.
Now days, the requirement for hard disc in personal computer is increased dramatically. And if the size increased then necessity of software to manage the files and folders also increased.
To manage the documents and easy search, you can convert your system in “
Google search enabled System” by just downloading Google desktop from here.
To enable the google search any time click
cntrl Key twice and you will get your own google.
Just start typing, you will get two options:
Search on Desktop
Search on Web
Continue reading “Google Desktop Search in Folder”