Archive for the ‘ASP .NET’ Category

Table Variables ms sql

Issue Detail: When I drag and drop store procedure into DBML file (Linq to Sql dbml file) it throws below error:- “Unknown Return Type – The return types for the following stored procedures could not be detected” or “No return type for Store Procedure” This happens due to various syntax issues which DBML does not […]

September 2, 2012 · Infoyen · 2 Comments
Tags: , , ,  · Posted in: ASP .NET, SharePoint, SharePoint 2010

iframe onload event

Introduction:- This article describe; How to add onload event on iframe? This help to perform some action once iframe get load. For example; on button click i display loading image and as soon as iframe content loads ; i hide loading image.

July 21, 2012 · Infoyen · 2 Comments
Tags: ,  · Posted in: ASP .NET, JavaScript

Change RadioButtonList selected index using Javascript

Requirement: Change RadioButtonList selected index on Reset button to default option. This will cover below topicalso:- – JavaScript Get RadioButtonList Selected Value – Javascript Change RadioButtonList selected index – respond to asp:RadioButtonList changes

May 17, 2012 · Infoyen · 2 Comments
Tags: , ,  · Posted in: ASP .NET, JavaScript

Pass page values from one to another page in ASP .NET

Hi, To Pass Values Between ASP.NET Web Pages or To Transfer page values to another page we can use following:- 1. Response.Redirect (Use a query string.) 2. Cookies 3. Session Variables 4. Application Variables 5. HttpContext by using Server.Transfer details:- Introduction We always come into situations in which we need to transfer values from one […]

March 13, 2012 · Infoyen · No Comments
Tags: , , ,  · Posted in: ASP .NET

Downloading File using stream on sharepoint page

Description This article will show you how to buffer data into a MemoryStream from a query and output the buffered data back to the browser as a dialog (with save open cancel). The Code: – The first step is to get object of SPSite and SPWeb. – Second steps is to get SPListItem object using […]

February 24, 2012 · Infoyen · No Comments
Tags: , , , , ,  · Posted in: ASP .NET, MOSS, SharePoint, SharePoint 2010

custom pagination for gridview in sharepoint

If you want to implement custom pagination having “Next” and “Prev” button in gridview then you have following options:- But i have got one more good solution which works well for me. See below:- 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 […]

February 21, 2012 · Infoyen · No Comments
Tags: , ,  · Posted in: ASP .NET, MOSS, SharePoint

myworldmaps infoyen