MaterPage - only show header & footer section if user access is denied
if (Session["IsAdmin"] != "YES") { Response.Write("ACCESS DENIED!"); Response.End(); //Response.Redirect("../AccessDenied.aspx"); } I have a common Master Page that is used across the entire site, and...
View ArticleDetect KeyPress Functions in ASP.Net vb webpages
Pls how can i detect keys pressed in asp.net webpage. In WinForm, i use the KeyDown Event but it is not added in ASP.Net. How can i achieve this without using JavaScript? Thanks
View ArticleSection of Code Causes Ajax Not to Display
<!-- ================================================================================ --><!-- SECTION 6: Error Message Display --><!--...
View Articleoverall average using below query
DECLARE @cols As nvarchar(max), @query As nvarchar(MAX); select @cols = STUFF((SELECT distinct ',' + QUOTENAME(agent_first_name) FROM #Temp2 FOR XML PATH(''), TYPE ).value('.', 'nvarchar(max)')...
View ArticleHow to display additional detail data onmouseover product in model view...
Hello..How can i display additional detail data of product when user onmouse over? (WingTipToys)Thank you!
View ArticleUpload email message
Hi,Is it possible to upload an email message (to database or file system). I know we can upload images, word docs and pdfs but my users want to be able to upload an email. Users will be filling out a...
View ArticleGet the value from usercontrol(.ascx) page and pass it to textbox in parent...
I've created a usercontrol which has a calender control having only months displayed i.e in JAN,FEB,etc !! This user control calender is toggled from parent page's textbox(using Jquery),my code is fine...
View ArticleSend data from user control into the main page
I have created a user control that captures some data (about 15 fields). Once the user enters the data and click on the OK button in the user control, I want the data to be populated into a grid in my...
View ArticleProblems with WebForm_DoPostBackWithOptions after installing .NET4.5
We installed .NET 4.5 on a server with .NET 4.0 Asp.Net web applications. New .NET 4.5 applications work ok, but existing 4.0 webform applications have a problem: http post request with...
View ArticleExport Gridview to Excel help....
I have an C# ASPX page with a Gridview and aButton. I am trying to export the Gridview to MS Excel and I am not getting an error from my codes below but I'm not getting an Excel File.How do I fix my...
View ArticleI am looking for a good solutione to automaticaly grab credit card...
I wasnt to grab the informaiton from a credit card reader so that I can automatically get the payment into a record for billing. Doe anyone have a recommended solution? Thanks
View ArticlePrinting selected rows in a GridView ?
Hi Brothers, I have an application that shows reports from a database in a GridView i want to select multiple rows in the GridView and click a button to print them how can i do it?
View ArticleHow to use ASP.Net webpart without ASPNETDB
Hello Everyone,In one of my project I need to implement ASP.Net webpart functionality. Now my problem is that whenever I am performing any operation on generated web part(i.e. "Minimize","Close"),...
View Articleissues with logout
Hi,I have a menu with HOME,LOGIN,SERVICES,CONTACTUS....After a succesful login, if user tries to click HOME link, it should inform "logout first"How this can be implemented?ThanksAngelo
View ArticleImporting data from excel sheet to sql data table!
HiI am trying to import data from excel sheet to a data table in sql express which is used to build a candle stick graph. Just need your opinion if this code fine or any modification is...
View ArticleHow to do a searchable gridview ( not with sqldatasource )
I'm trying to do a searchable gridview. I'm trying to do the type of gridview where user can search via the column name. For example, if i were to put some of my column as datakey, there will be a...
View Articlemy dragpanels drag but don't stay put in IE 10. Any ideas
My dragpanels work fine in all browsers but ID 10. In IE 10, they drag, but the second I let go of the mouse, they snap back to the original position. It has something to with IE 10.Any ideas?
View ArticleInserting data in Tally Like SQL Server
Hi All,I am making a webapplication in which i have to save data in Sql as well as Tally ERP 9.I am able to insert data in sql server but not in tally.i have written the code as below :- but i am...
View Articlejavascript is not working in updatepanel(after a button click)
how i can resolve this problem? java scripts is not working after post backthis is my .aspx file and .js file<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"...
View ArticleCredit card web integration Firstdata webservices API
Hi there,I am trying to integrate the merchant account with firstdata to my website but I can not find the codes for ASP classic just for ASP.net are codes available,since I am new on ASP.net I can not...
View Article