All Articles

System.Security.SecurityException in Asp.Net

| April 23, 2013 | 0 Comments

I was trying to host Intranet website based on .Net Framework 2.0 on remote share with fewer privileges. But the web application got failed and showed exception as : Server Error in ‘/rso/intranet’ Application. Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the […]

RadChart Grouping and Aggregation

| April 15, 2013 | 0 Comments

Telerik provides number of controls for Asp.Net developers. I was using one of the control RadChart that is used for representing information in chart. But the radchart control lacks grouping and aggregation feature directly. However RadChart for Silverlight provide this feature. You can check it from here. Allow me to discuss a problem I was […]

Deploy Crystal Report Application

| March 7, 2012 | 13 Comments

Learn how to deploy crystal report application on production server. Why the same code works fine on development server. But get fail on production server. We would try to understand crystal report issue faced by most of the developers while deployment of crystal report apps. I googled lot for same issue but information was scattered. […]

Concatenate strings in .aspx page

| November 5, 2011 | 0 Comments

Problem I am trying to set label value dynamically in .aspx page. Additionally I need to concatenate strings in the .aspx page. Solution We would need to use string.Concat() function for same. Here is solution for concatenating string values in .aspx page: Code Snippet for .aspx: Above code results in string as http://80Hello.

Round corners on Image by Adobe Photoshop CS3

| December 31, 2010 | 1 Comment

You want to convert square image into round corners image by using Adobe Photoshop CS3.  There are lot of articles available on net explaining about round corners in very easy and efficient way. But I am writing this article for future reference and for rest of fresher designers who wish some easy step-by-step instructions. So […]

The database ‘file.mdf’ cannot be opened because it is version 655

| December 28, 2010 | 0 Comments

Problem: This was weird & probably first problem I faced related to Sql Server version(s). I was trying to learn Asp MVC with the help of sample application MvcMusicStore. I open it in VS 2010 and debug. On debugging it throw runtime exception: System.Data.EntityException was unhandled by user code. Message=The underlying provider failed on Open. […]

Apply Style to ListItem in List Controls

| December 26, 2010 | 0 Comments

We can apply CSS class or styles to our List Controls (CheckBoxList, RadioButtonList, DropDownList and ListBox). But there is no way to add or apply style to ListItem within them in .aspx. So this article deals with how to add attributes to ListItems in all ListControls. We would apply required style or attributes at runtime […]

Image in TextBox & RichTextBox

| December 25, 2010 | 0 Comments

This article deals with how to show Image in TextBox and RichTextBox control. I googled for same but found little or was too complex to implement as per my understanding. Well! The noteworthy point is that in either of methods shared here uses alternative solution. There is no such direct way to do. Second thing is […]

Update database from DataGridView

| December 21, 2010 | 0 Comments

Most of time developer want their users to be able to update database from DataGridView in Window Forms. So this article deals with concept of how to update tables in database from DataGridView. The main task of updating database is done with the help of System.Data.SqlClient.SqlDataAdapter.Update() method.  System.Data.SqlClient.SqlCommandBuilder generates required command for SqlDataAdapter when Select […]

How to access controls within User Control

| December 20, 2010 | 7 Comments

This article helps you to know step-by-step how to access controls within User Control from Asp.Net Page. 1. For this we would need to register our UserControl in Asp.Net Page. Code Snippet for UserControl: 2. And then in .aspx.cs page we can find the control within user control and caste it accordingly to use further in […]

%d bloggers like this: