Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:747682
More Search Options
RSS Available
Matching Posts
Re: Problem with browser's close button
You can store username and password in the cache memory.When user access login page,on page load event check username and password is exist in cache memory.If it is redirect user to main page.This is the same code for "Remember Me Next time on this computer" code Modify this code and try int typeId; protected void Page_Load( object sender, EventArgs e) { if (!IsPostBack) { if (Request.Cookies[ "myCookie" ] != null ) //Cookie Exists?? { HttpCookie cookie = Request.Cookies.Get(
Posted to
Client Side Web Development
(Forum)
by
impathan
on 2/18/2008
Re: is it possible
Try this code string ImageFile = Server.MapPath("ImagePage"); //System.Drawing.Image objImage = System.Drawing.Bitmap.FromFile(ImageFile); System.Drawing.Bitmap objImage = (System.Drawing.Bitmap) System.Drawing.Bitmap.FromFile(ImageFile); // Response.Write(Server.MapPath("ImagePath")); Response.Clear(); Response.ClearContent(); Response.ContentType = "images/jpg"; Response.AddHeader("Content-Disposition", "attachment; filename=Image.png;"); MemoryStream
Posted to
ASP.NET AJAX Networking and Web Services
(Forum)
by
impathan
on 2/18/2008
Re: Problem with browser's close button
[quote user="niteensapkal"] Now the problem is that, when user directly clicks on browsers close button, without clickin Log Out button. his user name is still present in cache wich is 30 min, so he is unable to do Login. Please tell me solution. How do I handle this situation? [/quote] Store username and password in cache and check on login page first if it is already exist in cache then user can able to login automatically on login page without entering username and password
Posted to
Client Side Web Development
(Forum)
by
impathan
on 2/18/2008
Re: messagebox is not working
[quote user="Abitha"] Response.Write( "<script>alert('" & "Invalid username or password" & "');" & "<" & "/script>" ) [/quote] Instead of response.write method, use ClientScript Page.ClientScript.RegisterStartupScript(this.GetType(),"key","alert('Invalid username and password');",true);
Posted to
Web Forms
(Forum)
by
impathan
on 2/18/2008
Re: facing problem in programming (update but not using update query) using get, set property
If you want to copy data row from one table to another then you can just use select query to copy data from one table to another.But in you case user can modify records so you need to update new records in the first table and after that you can copy that records to other table,If you dont want to update records in first table you can just insert records in new table using insert query. To copy data from one table to other. Insert TableName2 ID,Title1,Title2,...... select ID,Title1,Title2,.......
Posted to
Getting Started
(Forum)
by
impathan
on 2/18/2008
Re: problem to show the banners in Update panel.
Welcome to the asp.net forum. [quote user="tyagi.vishal"]Problem is that when the page first time load banners are showing correctly but when i page call by ajax postback the banners does not showing.[/quote] Set UpdateMode as conditional to the update panel.
Posted to
ASP.NET AJAX UI
(Forum)
by
impathan
on 2/18/2008
Re: ModalPopupExtender
Post your code
Posted to
ASP.NET AJAX Control Toolkit
(Forum)
by
impathan
on 2/18/2008
Convert html to image
Hi friends. I need to convert html string to image. Can anybody help me regarding this? Thanks in advance.
Posted to
Getting Started
(Forum)
by
impathan
on 2/18/2008
Re: three level datagrid drill down
[quote user="foremorecoast"] Private Sub dgPropertyAssetCapexSummary_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.DataGridCommandEventArgs) Handles dgPropertyAssetCapexSummary.ItemCommand Select Case e.CommandName Case "ExpandSummary" Dim img As ImageButton img = e.Item.Cells(1).FindControl("btnCapexSummary") If img.ImageUrl = "/Images/Plus.gif" Then img.ImageUrl = "/Images/Minus.gif" Else img.ImageUrl = "/Images/Plus
Posted to
Data Presentation Controls
(Forum)
by
impathan
on 2/8/2008
Re: Need help
[quote user="azwaralam"]i have to create grid view dynamically with insert edit and delete option can anybody tell me or send me the sample cod[/quote] Read these two articles article1 and Article2
Posted to
Data Presentation Controls
(Forum)
by
impathan
on 2/7/2008
Page 1 of 79 (787 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
The (Near) Final Word on Multi-Monitor Taskbars for Windows 7 - Ultramon vs. DisplayFusion
WindowsClient:
Looking back at 2009, and forward to 2010
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
Channel 10:
Festive Bing
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Channel 9:
Jeffrey Van Gogh and Bart De Smet: Inside System.Interactive
WindowsClient:
Runtime Fault Injection using TestAPI
TechNet Edge:
TechNet Radio: Community Corner with John Weston (Episode 1)
TechNet Edge:
Windows Firestarter Events (Part 3 of 5): IE8 - Browse the Web in Style!
WindowsClient:
The year ahead, 2010.
TechNet Edge:
FOPE Policies Deep Dive Interview
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online