Search

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

Matching Posts

  • Re: How to link a textbox to sqlDataSource

    Hi, I can see nothing wrong with your code, make sure the query has return the right value, especially DropDownList2.SelectedValue and DropDownList3.SelectedValue has the correct value. Hope it helps, Jessica
    Posted to Web Forms (Forum) by Jessica Cao - MSFT on 8/23/2007
  • Re: highlight the ServerSide Calendar with some color

    Hi, There are many tutorials in our forums, you can learn from the following link http://www.asp.net/get-started/ Hope it helps, Jessica
    Posted to Getting Started (Forum) by Jessica Cao - MSFT on 8/23/2007
  • Re: How do you create a method for on-click event of a button that is being generated dynamically?

    Hi EJM, I have copied and pasted your code to my project. When I run it, I found that when you click the button, it will disappear after postback. That problem is caused by the ASP.NET page life cycle. The page is created every time from scratch when requested by the client. That means the page will lost every thing generated at run time after page's postback. It is your responsibility to maintain there state. You have to store the dynamically created button's information in ViewState or
    Posted to Web Forms (Forum) by Jessica Cao - MSFT on 8/23/2007
  • Re: Anyone have examples of how to create your own charts in ASP.Net

    Hi , I suggest you create your own Web chart control in ASP.NET. Here is the code sample in this article telling you that how to create one. http://www.codeproject.com/aspnet/webchart.asp Hope it helps, Jessica
    Posted to Web Forms (Forum) by Jessica Cao - MSFT on 8/22/2007
  • Re: Accessing a usercontrol from default.aspx

    Hi, In my opinion, you can use FindControl to access the HyperLink nested in the Web User control. Here is the example: Web user control <%@ Control Language="C#" AutoEventWireup="true" CodeFile="WebUserControl.ascx.cs" Inherits="WebUserControl" %> < asp:HyperLink ID= "HyperLink1" runat= "server" NavigateUrl= "~/ChildForm.aspx" >HyperLink</ asp:HyperLink > Default.aspx page <uc1:WebUserControl ID="WebUserControl1"
    Posted to Web Forms (Forum) by Jessica Cao - MSFT on 8/22/2007
  • Re: multicolumn dropdownlist control

    Hi maham, Please refer to this previous thread http://forums.asp.net/AddPost.aspx?ReplyToPostID=1868815&Quote=False which talking about the same issue and it already has some solutions. Hope it helps, Jessica
    Posted to Web Forms (Forum) by Jessica Cao - MSFT on 8/22/2007
  • Re: DropDownList to ComboBox - how can I enable free text in the .net drop down list?

    Hi, I understand that you want to create a multiple columns DropDownList. There is no bulit-in multiple columns DropDownList, but you can create a composite custom control yourself. Here is the article telling you how to create one. http://www.codeproject.com/aspnet/multiColsDD_List.asp Hope it helps, Jessica
    Posted to Web Forms (Forum) by Jessica Cao - MSFT on 8/22/2007
  • Re: What does page.previousPage do?

    Hi, Page.PreviousPage property gets the page that transferred control to the current page. Here is the code sampe showing how to use this property. Page1. < asp:TextBox ID= "TextBox2" runat= "server" ></ asp:TextBox > < asp:Button ID= "Button2" runat= "server" PostBackUrl= "~/DeleteFilePath.aspx" Text= "Button" /></ div >// set the PostBackUrl to the Button control DeleteFilePath.aspx page public partial class DeleteFilePath
    Posted to Web Forms (Forum) by Jessica Cao - MSFT on 8/22/2007
  • Re: Page Life Cycle demo?

    Hi, In PreInit event, all controls created during design time are initialized with their default values. For e.g., if you have a TextBox control with Text property = “Hello”, it would be set by now. We can create dynamic controls here. This event occurs only for the Page class and UserControls/MasterPages do not have this method to override. Sample code where you can override this method and add your custom code: protected void Page_PreInit(object sender,EventArgs e) { //custom code you can set theme
    Posted to Web Forms (Forum) by Jessica Cao - MSFT on 8/22/2007
  • Re: How to link a textbox to sqlDataSource

    Hi musab, I understand that you want to display the query result in a TextBox control. Generally we can not bind a sqlDataSource to the TextBox. But you can hard code it. Please try the following code < asp:TextBox ID= "TextBox2" runat= "server" ></ asp:TextBox > < asp:DropDownList ID= "DropDownList1" runat= "server" AutoPostBack= "True" DataSourceID= "SqlDataSource2" DataTextField= "job_id" DataValueField= "job_id"
    Posted to Web Forms (Forum) by Jessica Cao - MSFT on 8/22/2007
Page 1 of 254 (2533 items) 1 2 3 4 5 Next > ... Last »