Search

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

Matching Posts

  • Re: Best Place to set Profile Property

    Profile.Username is only get Property. It gets the username of the current logged-in user. I am not sure why you want to set a username as this is beeing done automatically through the profile. to create Profile in the user registration page please read this: Create a User Profile in Regisration Page Hope it help.
    Posted to Security (Forum) by omerkamal on 3/1/2008
  • Re: C# Calculations based on text box (input type="text")

    you will use the "value" property of the input box. convert text to the int or double type. double .Parse(yourinputbox.value) for double conversion now you can do calculations on the basis of all extracted values.
    Posted to Free For All (Forum) by omerkamal on 3/1/2008
  • Re: C# Calculations based on text box (input type="text")

    HTML controls are client side controls. add runat="server" to make them accessible on the server side.
    Posted to Free For All (Forum) by omerkamal on 2/29/2008
  • Re: How to prevent others from seeing/copying my scripts?

    hi, create a file with extension "js". copy your javascript to the file (without script tags) link the file in your page < script src ="MyJavaScript.js" type ="text/javascript" ></ script > you can also use codebehind to link your *.js file to your page. Let's say you have a JavaScript file called myJavaScript.js, and you would like include it inside the web form by using the RegisterClientScriptInclude method, as shown in the following: ClientScript
    Posted to Client Side Web Development (Forum) by omerkamal on 2/29/2008
  • Re: Changing mouse pointer in code behind

    one thing must be clear with AJAX that all desing releative changings which must be shown to the user happen on the client side. for this purpose we use javascript instead of the server side code. Here is the link which will help you further to get your task: Mouse pointer as ASP.NET AJAX progress indicator Hope it help!
    Posted to Client Side Web Development (Forum) by omerkamal on 2/28/2008
  • Re: Adding Javascript to Page that Uses Masterpage

    check this link. Add JavaScript to asp:Content block dynamically in ASP .NET otherwise, add javascript to the master page or inside the content.
  • Re: How to save a html page as word in server under button click

    this applies to all kinds of questions you put in the forum. we have option to save the stream(binary) or text data of a file (file itself is an operating system's logic which holds the binary or text data). Database have its own logic to keep data. that means somehow we need the stream or text to read and save it to the database but not a file itself. So the question stays as it was :) How to read the binary or text data of a file? ( I am sure we know how to save binary or text data to the sql
    Posted to Web Forms (Forum) by omerkamal on 2/20/2008
  • Re: How to Sum the values of GridView Template Column

    add a TemplateField to the Gridview: < asp:TemplateField HeaderText= "Text" ItemStyle-HorizontalAlign= "Center" > < ItemTemplate > < img alt= "calculate" value= " <%# Eval("fieldone").ToString()+Eval("fieldtwo").ToString() %> " onblur= "dovalue(this)" src= "images/anyimage.gif" /> </ ItemTemplate > </ asp:TemplateField > Now add some javascript: < script type= "text/javascript"
    Posted to Data Presentation Controls (Forum) by omerkamal on 2/20/2008
  • Re: How to set up an error page that sends an email?

    I made up a trick for this issue. I am not sure if this is optimal. please comment if some one have better idea. I am using my Application_Error event to perform some checks. There is a big code up there but i will show you how I track a crawler. System.Web.HttpBrowserCapabilities browser = Request.Browser; string s = "Is a Browser." ; //as default if (!browser.Crawler) { s = "Browser Capabilities<br/>" + "Type = " + browser.Type + "&lt;br/>"
    Posted to Getting Started (Forum) by omerkamal on 2/20/2008
  • Re: How to save a html page as word in server under button click

    i guess u mean saving a word document in HTML format to the database is that the case? Iftha then follow these steps. save the word file as html (use HTML format in the Save method of the WORD objects library) at every button save click read the file stream and save the binary to the database (use Server.encode to encode HTML) delete the temp file to retrieve the data go on the same lines again (use Server.Decode for decoding the HTML) i hope it help.
    Posted to Web Forms (Forum) by omerkamal on 2/20/2008
Page 1 of 52 (513 items) 1 2 3 4 5 Next > ... Last »