Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by vituja123

  1. vituja123

    ASP.NET2.0 and Web.config: Where is the localhost wwwroot???

    Hi All, I've been using Asp.net1.1 for a few years now but when I create an app in 2.0, I don't see a C:\inetpub\wwwroot directory anymore. In the past i created a single web.config file and placed on the root of my local machine (c:\inetpub\wwwroot), which allows a global database...
  2. vituja123

    calendar day label?

    Interesting artical. Just one question. In the 9th code block that begins with: ---- For Each Item In MyCollection ---- on page http://aspnet.4guysfromrolla.com/articles/041603-1.2.aspx the ITEM variable needs to be defined. What declaration should I use?
  3. vituja123

    Listbox Scroll position after postback

    Hi All, I have two listboxes on my page with autopostback =true where I do some processing. When the page comes back the scroll position in each always defaults back to the top position. The selected data is retained but the user has to scroll all the way back down again. Is there a way to...
  4. vituja123

    Calling OnItemDataBound without Databind

    It's kind of starnge what the itembound routine does. am forced to split a text box into 2 textboxes when a certain condition is met. That code exists in the itembound routine.
  5. vituja123

    Calling OnItemDataBound without Databind

    Is there a way to call the OnItemDataBound routine without performing a databind? My OnItemDataBound routine is called LoadItemData(ByVal sender As Object, ByVal e As DataGridItemEventArgs) There is some logic in there that needs to be done but I don't want the data values to be loaded from...
  6. vituja123

    databound grid: Converting textbox to checkbox

    Thanks everyone. I just implemented something simular to jshurst example on 4guysfromrolla. I think I got it to work. Thanks again.
  7. vituja123

    databound grid: Converting textbox to checkbox

    I have a datagrid with two columns, Label and textbox. When the data is being read and the fieldname is, lets say, "Testfield", i need to represent that as a checkbox instead of a textbox.
  8. vituja123

    databound grid: Converting textbox to checkbox

    Hi All, For one filed in my databound grid, I need to convert it from a textbox to a checkbox. But I cannot figure out the exact coding. I tried this but it doesn't work. It bombs out on the DIM statement below: Sub LoadItemData(ByVal sender As Object, ByVal e As DataGridItemEventArgs) If...
  9. vituja123

    Data Repeater and HTML tables

    Hi All, I'm using a data repeater with an HTML table for a desired design look. But the tables seem to indent to the right each time the repeater creates a new table. I'm not sure why? Any help would be appreciated. Thanks. <asp:repeater id="Repeater1" runat="server">...
  10. vituja123

    Datagrid using javascript to total up

    yes. I tried may different ways but alas, when I press a button to update the checked data, all the checkboxes are identified as checked. The button does a postbox clearing out the checkbox values. Guess I'm going to use a database field to keep track of their values and abandon the...
  11. vituja123

    Update data after checkbox value is changed

    Hi checkai, FYI: I was able to get the this to work. I had some code in the page_load which pervented the checkbox call routine from working. Anyway, in the grid I set a DataKeyField. So in the "Check_Clicked" sub, how do I retrive that value. This doesn't work: Dim myDataGridItem...
  12. vituja123

    Datagrid using javascript to total up

    Hi All, I have a data grid with a few columns. The first column is a checkbox template and the last column holds numeric values. When the user clicks the checkbox, I need to add up all the rows with the checkboxes checked and place that sum in textbox on the screen. On the checkbox I have...
  13. vituja123

    Binding Column data in a datagrid template for hyperlink

    That actually was a lot eaiser. Thanks jim!
  14. vituja123

    Binding Column data in a datagrid template for hyperlink

    Hi All, In my datagrid I want to use a template column as a hyperlink. But I need to convert a database column value from a date to a single digit representing the day number. So I want to use the WEEKDAY date function as the data is being bound but I keep getting a compulation error where...

Part and Inventory Search

Back
Top