Search

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

Matching Posts

  • Re: Update Panel client side life cycle

    You're right. The previous link doesn't work. Here's the valid link: http://dotnetslackers.com/articles/ajax/The_UpdatePanel_opened_what_happens_behind_the_scenes.aspx best regards, Eriawan
    Posted to ASP.NET AJAX Discussion and Suggestions (Forum) by eriawan on 1/13/2009
    Filed under: Ajax asp.net 2.0
  • Re: DropDownList.SelectedValue issue

    [quote user="imchaz"] On your dropdownbox make sure the AUTOPOSTBACK property is set to TRUE. TheDropDownList1_SelectedIndexChanged will not fire if it set to FALSE. [/quote] Yes, imchaz. You're right. mxfrail, have you set the autopostback property to true and tried my solution? Eriawan
    Posted to Data Presentation Controls (Forum) by eriawan on 9/25/2008
  • Re: DropDownList.SelectedValue issue

    [quote user="mxfrail"] My dropdownlist is associated to a SQLDataSource. If I have the above SQLDataSource3 set to SQLDataSource_Selecting I run into the problems when username = DropDownList1.SelectedValue line. If I have my SQLDataSource3 set to SQLDataSource_Selected the problem does not occur but when I select a item from the DDL and call the SQLDataSource3.DataBind() nothing is happening. I understand that if nothing in the DDL is selected yet there is nothing in the selected index
    Posted to Data Presentation Controls (Forum) by eriawan on 9/25/2008
  • Re: Master-details using listbox

    [quote user="Fonzie"] So can I do it this way and still have just the name appear in the listbox using some string manipulation? SqlDataSource1.SelectCommand = "select name,rek bstkcust order by name" [/quote] You don't have to use String manipulation. You can simply fill the DataTextField with field name, and in your code, fill it with "name" just like this: <asp:ListBox ID="ListBox1" runat="server" DataSourceID="SqlDataSource1"
    Posted to Data Presentation Controls (Forum) by eriawan on 9/25/2008
  • Re: Why my GridView doens't populated?

    Have you called the DataBind() method of the GridView or simply DataBind() method from the current page? If you don't call this method, you'll not see the GridView display your data, unless the GridView is bound to SqlDataSource or LinqDataSource. Eriawan
    Posted to Data Presentation Controls (Forum) by eriawan on 9/25/2008
  • Re: DropDownList.SelectedValue issue

    There's no value in SelectedValue, at the first time the page is loaded. But if you use DropDownList, there is always a list item selected, and this is the nature of DropDownList. If you want to select a specific value, make sure you have the items on the DropDownList populated first. If the DropDownList has items from a table's database, make sure it has called DataBind() method first (unless you've bound the DropDownList to a SqlDataSource or LinqDataSource, these controls have DataBind
    Posted to Data Presentation Controls (Forum) by eriawan on 9/25/2008
  • Re: Master-details using listbox

    [quote user="Fonzie"] What I am hoping to do is have the listbox items only show a part of the string. Is this possible? It is tied to sqldatasource1 SqlDataSource1.SelectCommand = "select name+rek as dog from bstkcust order by dog" But I only want the name part to be visible in the listbox. [/quote] By looking on your query, you can't extract the name, since it's already aliased into one field. You should separate the name and the other fields on the query, and then binds
    Posted to Data Presentation Controls (Forum) by eriawan on 9/25/2008
  • Re: Vertical Scroller

    Hi Selva, By default on almost every browser (IE, Firefox, Opera, Safari) the vertical scrollbar (the scrollbar on the right) is always available. But when your web page is still within viewable area of the web browser, the vertical scrollbar will be disabled. ASP.NET has nothing to do with this, and since the vertical scrollbar is always available, you already have it on your every web pages or aspx pages. Eriawan
    Posted to Client Side Web Development (Forum) by eriawan on 9/7/2008
  • Re: Bind dataset from Grid view

    Just add this property on the GridView: AutoGenerateEditButton="true" and when the page is ran, clicking the edit button will display Save button to save edited record. Then every changes in GridView will be saved back to the DataSet you're using as the DataSource for the GridView. Eriawan
    Posted to Data Presentation Controls (Forum) by eriawan on 6/12/2008
  • Re: Creating columns for gridview

    I don't quite understand your question/problem.What is the initial state of the GridView when it's displayed at the first time? Also on the web, there's no direct simple binding just like in Windows Forms simple binding. Here's all I think about your problem: To add a specific column for GridView, simply add the field for each column: CheckBoxField for checkbox column, BoundField for text string or numeric data, and add the fields to the Columns collection of GridView. But if you
    Posted to Data Presentation Controls (Forum) by eriawan on 6/10/2008
Page 1 of 4 (31 items) 1 2 3 4 Next >