Search

You searched for the word(s): userid:747682

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
  • 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 »