Vineet2

Stories kicked by Vineet2

Working with cookies and JavaScript - Vikram Lakhotia(vikramlakhotia.com)

submitted by Vineet2Vineet2(435) 4 years, 2 months ago

I have discussed about cookies in my previous posts. But in all those posts I talked about working with cookies in server side. You can read these posts here read more...

add a comment |category: |Views: 7

tags: another

SharePoint programming and permission problem - Vikram Lakhotia(vikramlakhotia.com)

submitted by Vineet2Vineet2(435) 4 years, 2 months ago

Last few days I was playing with SharePoint server 2007 and programming with it. All I was trying to do was add a list item in a simple list created in the SharePoint through a web part. The code to do the job was simple enough. read more...

add a comment |category: |Views: 4

tags: another

How to refer Master page content in Content Page - Vikram Lakhotia(vikramlakhotia.com)

submitted by Vineet2Vineet2(435) 4 years, 2 months ago

Many a times while using a master page we want to refer content, Controls and properties in Master Page while working in Content page. We come across requirement where by we can change or access the values of controls residing in Master page when we are coding in the content page itself. read more...

add a comment |category: |Views: 19

tags: another

Using Meta Tag to refresh and redirect a page - Vikram Lakhotia(vikramlakhotia.com)

submitted by Vineet2Vineet2(435) 4 years, 2 months ago

Many a times we have a requirement where by we want to make a pager refresh by itself at a certain interval. We may also want to redirect the page to another page after a certain amount of time. I know we can do this with the help of Asp.Net Ajax Extension’s Timer control. But that can only be used when you are using Ajax in your page and more importantly should be used when you have requirement to update some small section of the page. For this requirement we can simply use a Meta tag in the Page header. read more...

add a comment |category: |Views: 0

tags: another

List of Obsolete API in Dot Net framework 2.0 - Vikram Lakhotia(vikramlakhotia.com)

submitted by Vineet2Vineet2(435) 4 years, 3 months ago

Microsoft has come out with a list of APIs which have become obsolete in the .Net Framework 2.0. The same can be accessed from: .NET Framework V2.0 Obsolete API List. The list also contains alternate APIs that can be used for most of the obsolete APIs. In case there is no alternative suggested then this means that there is no replacement for the API. read more...

add a comment |category: |Views: 1

tags: another

Passing Object as a parameter in ObjectDataSource - Vikram Lakhotia(vikramlakhotia.com)

submitted by Vineet2Vineet2(435) 4 years, 3 months ago

ObjectDataSource was a great addition to Asp.Net 2.0. But when working with asp.net 2.0’s ObjectDataSource had one limitation when working in Visual Studio designer. When working with ObjectDataSource we cannot pass object as a parameter. We always need to pass string, integer etc as the parameter. read more...

add a comment |category: |Views: 6

tags: another

VS 2008 web development Hot fix available for download - Vikram Lakhot(vikramlakhotia.com)

submitted by Vineet2Vineet2(435) 4 years, 3 months ago

Microsoft has just released the Hot fix for Visual Studio 2008, web development. The hot fix is for the performance issue caused in the VS 2008 in the HTML source View and design view. You can download this hot-fix roll-up for free here. read more...

add a comment |category: |Views: 1

tags: another

Gridview showing Running Index of row - Vikram Lakhotia(vikramlakhotia.com)

submitted by Vineet2Vineet2(435) 4 years, 3 months ago

A few days ago some one asked me this in a mail. After thinking on this a bit I decided to make a post as I thought this might be useful to many. Many a times while using a Gridview or a Datagrid we want to show a row number along with the Row, so that its easy for the user. The row number should always start from 1 no matter what the sorting is. read more...

add a comment |category: |Views: 4

tags: another

Exact Transcript of Microsoft Bid to Buy Yahoo - Vikram Lakhotia(vikramlakhotia.com)

submitted by Vineet2Vineet2(435) 4 years, 3 months ago

Here is the exact transcript of the letter send by Steven Ballmer to Yahoo to purchase Yahoo. read more...

add a comment |category: |Views: 1

tags: another

Some of the useful and less known property in the Request Object - Vik(vikramlakhotia.com)

submitted by Vineet2Vineet2(435) 4 years, 3 months ago

Today I was discussing with my friends about some of the cool stuff available in the request class but rarely used or talked. After the talk I discussed on posting them in the blog. read more...

add a comment |category: |Views: 2

tags: another

How to find if a given string is integer or not in C Sharp - Vikram La(vikramlakhotia.com)

submitted by Vineet2Vineet2(435) 4 years, 3 months ago

When using JavaScript many a times we have a requirement to find if a value is number or not. With JavaScript its pretty easy, as it gives us a function isNaN which tells us if the string is a number or not. But how can you tell in C# if a string is number or not? read more...

add a comment |category: |Views: 2

tags: another

Looping through the page to work on all the control of similar type - (vikramlakhotia.com)

submitted by Vineet2Vineet2(435) 4 years, 3 months ago

Of late I have found this one question related to finding controls inside the page dynamically and apply some similar function to them. Like put a css class to all the textbox (or for that matter any control) in a page. Remember a page can have textbox as a control directly under it, or the textbox can be inside another composite control (like login control, gridview, detailview) inside the page. read more...

add a comment |category: |Views: 5

tags: another

Using Environment variables to find more about the asp.net runtime Env(vikramlakhotia.com)

submitted by Vineet2Vineet2(435) 4 years, 3 months ago

What do you do when you need to find the values of various environment variables in the system like USERDOMAIN, PROCESSOR_ARCHITECTURE, COMPUTERNAME, USERNAME, PROCESSOR_IDENTIFIER, etc. well with asp.net this can be a very simple Job. You can get all these value along with a set of other values with the help of read more...

add a comment |category: |Views: 0

tags: another

Using the ViewStateUserKey to prevent one click attack on the site - V(vikramlakhotia.com)

submitted by Vineet2Vineet2(435) 4 years, 4 months ago

One of the very rich security feature and also one of the least known is the ViewStateUserKey. The key is used to add an identifier to the individual user in the viewstate variable for the page. read more...

add a comment |category: |Views: 26

tags: another

SQL Server query returning maximum 255 characters only - Vikram Lakhot(vikramlakhotia.com)

submitted by Vineet2Vineet2(435) 4 years, 4 months ago

One of the very simple and common that one of the commenter asked me a few days ago was why does the SQL query analyzer show only results unto 255 character only and not full column text. This is common to any data type in SQL server Query Analyzer. read more...

add a comment |category: |Views: 1

tags: another

Finding all the existing SQL Server on the network using SQL - Vikram (vikramlakhotia.com)

submitted by Vineet2Vineet2(435) 4 years, 4 months ago

An interesting question asked to me by one of my colleague quite some days back. How do we find all the SQL server running in the network in SQL? Well the requirement was unique, but the way to do it is pretty simple. read more...

add a comment |category: |Views: 0

tags: another