Page view counter

Browse by Tags

Related Posts

  • Open multiple URLs (in AJAX Tabs with iFrames) based on gridview data

    Hello all - hopefully someone has some insight on the code behind for doing this; The basic setup for this is as follows; Based on gridview data I generate a unique URL which goes to a proxy server (after first passing the data to a server side page) that returns images into an iFrame area of the page...
    Posted to Data Presentation Controls (Forum) by TimTheWizard on 09-05-2008, 12:00 AM
    Filed under: button, c#, GridView, TemplateField, URL Request
  • Re: One Column for 2 types of data?

    Look at the following, it may help you see what you need: < asp:GridView ID= "GridView1" runat= "server" AutoGenerateColumns= "False" DataSourceID= "SqlDataSource1" > < Columns > < asp:TemplateField > < ItemTemplate > < asp:Label ID=...
    Posted to Data Presentation Controls (Forum) by newsomer on 08-23-2008, 12:00 AM
    Filed under: Eval, gridvew, ItemTemplate, TemplateField
  • RegularExpessionValidator does not work on data-bound TemplateField

    Hello, I am using a data bound TemplateField on a textbox to ensure users are entering a valid e-mail address. But it is inserting any value and is not returning my validation summary. Have ensured all items belong to same validation group and causes validation is true. < asp : DetailsView ID ="DetailsView1"...
    Posted to Data Presentation Controls (Forum) by Gabriel_Haukness on 08-15-2008, 12:00 AM
    Filed under: 'C#', C#. NET 2005, data bind, detail view, Detail view and TemplateField - HTMLEncode, detail view Edit Item Template validation, detail view value detailsview, DetailsView, DetailsView TemplateField C#, DetailsView ValidateRequest validation, TemplateField, TemplateFields, ValidateRequest, validation controls, Validation message will prompt when same Id is inputted...., validationgroups
  • Dynamically add TemplateField to DetailsView

    Hi all, I am having some difficulties trying to dynamically add a TemplateField to a DetailsView. My situation is that I have a DetailsView bound to an ObjectDataSource with a number of Bound- and TemplateFields already present. The very last field contains buttons to raise ItemCommands for editing/inserting...
    Posted to Data Presentation Controls (Forum) by WolfyUK on 08-06-2008, 12:00 AM
    Filed under: ASP.NET, DataControlFieldCollection, DetailsView, dynamic, TemplateField
  • TemplateField Losing Controls When Using GridView.Columns.Insert

    I have a GridView (UserSalesGridView) which has a few template fields and a few bound fields coded into the ASPX page. I am also dynamically adding bound fields to the grid with GridView.Columns.Insert. This works fine on the first time the page loads, but not after a PostBack. When I use e.Row.FindControl...
    Posted to Data Presentation Controls (Forum) by chuckdfoster on 08-04-2008, 12:00 AM
    Filed under: GridView, GridView.Columns.Insert(), TemplateField
  • Item in GridView TemplateField does not has the correct bound value

    Hi I have a pretty straightforward gridview, but one of my columns is doing something weird (that is, part of the field displays a correct data, part of it does not). Here is the column that has the problem (the other ones are doing fine) : < asp:TemplateField HeaderText= "Entreprise" SortExpression...
    Posted to Data Presentation Controls (Forum) by cosmo0 on 04-29-2008, 12:00 AM
    Filed under: GridView, TemplateField
  • Re: Persisting dynamic GridView across postbacks

    I finally figured out an acceptable solution. The TemplateFields themselves are automatically restored from viewstate, but the templates themselves aren't (the field's Item/Header/FooterTemplate properties are null). Note: I can't explain it, but I have to call gv.Columns.Clear() before adding...
    Posted to State Management (Forum) by Doctor Sid on 03-06-2008, 12:00 AM
    Filed under: ViewState, Cache, postback, GridView, Caching, lost, dynamic, templatefield
  • creating custom TemplateFields for DetailsView/GridView

    Hello Everybody, firstly I want to say that I have searched for a solution on the forum (there are some similar problems) but did not find an answer. I wanted to write some subclasses for the TemplateField class. I have implementing the IBindableTemplate class, and it works ok, but I am facing an annoying...
    Posted to Data Presentation Controls (Forum) by jahabdank on 01-18-2008, 12:00 AM
    Filed under: TemplateField
  • Reading the value of a TemplateField in a GridView

    I have a GridView which contains a few columns, one of which is a template field. I tried reading the value (when the row is selected) like this: MyGridView.SelectedRow.Cells(8).Text ..but this always returns nothing. I wanted to try this method: Dim MyTextBox As TextBox = CType (MyGridView.Rows(e.NewEditIndex...
    Posted to Data Presentation Controls (Forum) by KarlR on 01-18-2008, 12:00 AM
    Filed under: TemplateField, grid view, grid view, grid view cell
  • Editable gridview: Template Columns and the dreaded "could not find a non-generic UpdateQuery that has parameters..."

    Ok, I had this working, until I had to add a new template column to the gridview. Now its broken. Background info: Primary key for my table is ProjectID. When switching a row in the gridview into edit view, I only want ONE column (Status) to be editable (it is a dropdownlist). So all other fields are...
    Posted to Data Presentation Controls (Forum) by Brad.C on 01-04-2008, 12:00 AM
    Filed under: GridView, TemplateField, parameters
Page 1 of 3 (22 items) 1 2 3 Next >
Microsoft Communities