Feeds:
Posts
Comments

Posts Tagged ‘C#.Net’

Hi guys, do you know you can use already ready code inside your visual studio? Yes certainly you can insert code snippets into your code. You can invoke the “Insert Snippet” by using shortcut “ctrl k + ctrl x”.

You can download some of the code snippets from http://msdn.microsoft.com/en-us/vstudio/aa718338.aspx all you need to do is [...]

Read Full Post »

There are a few hidden gems in Visual Studio that are easy to overlook. One of those is the Code Definition Window (ctrl+\,ctrl+d or View – Code Definition Window).
The Code Definition Window will work in two different ways. The first is with your current code editing window. As you navigate your code, [...]

Read Full Post »

Assume in the master page, we have a user control which we need to access and set its visiblity from content page. We create a public property in the master page called controlVisiblity
public bool LoginControlVisible
{
get
{
return LoginControl.Visible;
}
set
{
LoginControl.Visible = value;
}
}
To gain access to the master page file from the content page, you just need to add the [...]

Read Full Post »

I recently ran into a problem involving a dynamically generated linkbutton control inconsistently requiring two clicks in order to reach its Click handler method.
Most of the posts I found kept referring people to the page lifecycle, but in the end that had nothing to do with it. The issue was that the controls ID values [...]

Read Full Post »