Browse By Tags

  • Using the WHDS with a stored procedure with two resultsets

    Hello

    I have a stored procedure that accepts parameters and it returns two resultsets that have a master-detail relationship. The idea is to databind a webgrid control. Should I use the WHDS control? What do you recommend?

    Thanks a lot.

  • WebHierarchicalDataSource Multiple Child views

    I am having trouble with the WHDS and the UltraWebGrid control.  When I setup the WHDS, it has a top level (Person) with two different children (addresses and related people), the related people have a child (their addresses).....it looks a bit like this…

  • WebHierarchicalDataSource - Update

    Hi there,

    I have sucessfully configured a WebHierarchicalDataSource to display a parent/child ObjectDataSource through a UltraWebGrid.

    I can now expand the parent rows to display the associated child rows which is perfect!

    When it comes to updating the data…

  • WHDS and UltraWebGrid

    I've created 3 sqlDataSources and defined their relationship in WHDS.  I've set up my webgrid
    DataSource=whds1
    DataMember =
    DataKeyField =

    The UltraGrid shows the correct number of rows but only one column that shows
    Infragistics.Web.USystem.Data…

  • WHDS and Ultrawebgrid

    Quick note.  Using the WHDS and the UltrawebGrid the InitializeEvent does not fire.  However, the InitialBand Event fires and all of the actions can be captured in this event.

  • DataView Issue

    Try this

    1 - Add WHDS (I'm too lazy to type full name today) to page.

    2 - Click on Add View, do not select a data source but click on OK

    3 - Click Add Child

    4 - You should see the following error "Index was out of range. Must be non-negative and…

  • Add additional Groups and Items

    Hello,

    i use NetAdvantage 10.2.x with Net4.0. I use the WebExplorerBar with a Databinding to a WebHierarchicalDataSource (with a SqlDataSource as Base). I catch the 'itemselected' Event and in the JavaScript i check if it is a child-node and call some…

  • WebExploreBar and WebHierarchicalDataSource

    Hello,

    i use Version 11.1 with CLR 4.0 in VS2010 Prof. The WebExploreBar (WEB) is bound to a WebHierarchicalDataSource (WHS). The data for WHS comes from a SqlDataSource (SDS) with a stored proc (SP) in backround. The Hierarchie is build via a foreign…

  • Re: Binding to Self-Related Data?

    Hello,

    You can achieve your task using the WebHierarchicalDataSource. Please take a look at the attached sample page.

    Here is what I did to acomplish this task:

    1. Created a SQL Server self related table:

    CREATE TABLE [dbo].[SelfRelatedData](
     [Id]…

  • WebHierarchicalDataGrid databinds twice

    I am trying to optimize my WebHierarchicalDataGrid so it hits my DataSource as few times as possible, since the data sent back in forth is quite large I want to avoid as many trips as I can.

    I am doing Load On Demand programmatically so none of my child…

  • How to force WHDG to refresh from datasource?

    Hi,

    My Web Hierarchical Data Source, WHDS, is from two SQL datatables and defined entirely in C#.  I'm using .NET 2.0.

    Does anyone know how to force the WHDG to refresh/reload when I want, on a postback?  I'm changing the database from the page, adding…

  • Can WebHierarchicalDataGrid support AutoCrud =False?

    I got pretty good at repeating my preferred pattern w/ WebDataGrid: 

    1) Crud Stored Procs + 2) .Net DataSets and TableAdapters + 3) ObjectDataSource + 4) WebDataGrid w/ AutoCrud = false.

    Now I'm using the WebHierarchicalDataGrid w/ one child band, but…

  • dataview has no datasource set or datasourceId

    HI,

    I am getting the following error while doing hierachy(only one child band) in webHierarchialDataGrid.

    Error: "dataview has no datasource set or datasourceId"

    Only on row can be expanded (child band). After this, if i click any row or another…

  • WebHierarichal Grid to work with generic class

    Please let me know how can i make the grid to work with a generic class.  if i want to add a object to the grid which has parent and child relationships also then how can i achieve it.

    I have set the autogeneratebands = "true" but it does not work. Then…

  • The data does not correspond to valid JSON.

    Hi all,

    after a couple of days of looking for a solution to my problem, I hope you'll be able to help me.

    I am getting the "Cannot deserialize" error when attempting to add a new row in my child band.

    Here is my aspx:

    <

     

  • Problem with WebHierarchicalDataGrid in combination with EDM

    Good day,

    I am trying to get the WebHierarchicalDataGrid working in combination with EDM. In EDM i created an entity called Employees with a primary key on employeeID and an association to itself from ReportsTo to EmployeeID.

    In what way can i make…

  • Runtime Exception

    I'm trying to bind a HierarchicalDataGrid to a HierarchicalDataSource. The data source is composed of two objectdatasources. When I set the InitialDataBindDepth = 1 I can expand an see the child band. But when I set the InitialDataBindDepth = 0 and expand…

  • Re: Dynamic Setting Web hierarachical Data Source

    Hi,

        I too tried the Same in changing Initialize Row(). It wont Work. It is recommendable to write your own function and trying to change or set width

    In vb we have with... end with statement. Inside that I changed all coluumn width. Try a function…

  • Dynamic Setting Web hierarachical Data Source

    Hi,

     The below code sets the Web hierarchical Data Source with Web Hierarchical Data Grid. The Complete flow is given.

    The code is wrieen in VB .NET.

     

     Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
           
            Dim webgriddataset…

  • WebHierarchicalDataGrid gives a NullReferenceException

    Hello,

    I use an WebHierarchicalDataGrid with a WebHierarchicalDataSource and 3 ObjectDataSources (3 levels of data). I get the following error most of the time. I am using an evalation version.

    Does anyone have the same problem? Is there any workarround…

  • Is it possible to bind WebHierarchicalDataGrid without using WebHierarchicalDataSource?

    Hi,

    I downloaded NetAdvantage for ASP.NET and we are evaluting grid. We already have business objects ready to bind to the grid. But for some reason i unable to plug those in WebHierarchicalDataGrid. I checked most of the sample which is using WebHierarchicalDataSource…

  • WebhierarchicalDataSource - Literal content error

    Hi,

    I'm trying to setup a datarelation and am getting the following error: 

    Literal content ('<igds:DataRelation ParentDataViewID="dvVerificationSummary" ParentColumns="ParentEscalatorID" ChildDataViewID"dvVerificationDetails" ChildColumns="EscalatorID…

  • Re: Error loading WebHierarchicalDataGrid

    Hi,

    I am also facing the same issue while binding the WHDG.

    Could you explain where you have created the Primary Keys. i.e. do you create the primary key in the respective tables in SQL ?

  • Using the WebHierarchicalDataSource with UltraWebGrid

    A tip to prevent others wasting as much time as I did.  The documentation section "Binding WebGrid to a WebHierarchicalDataSource" is missing a key point.

    Set the ViewType off the DisplayLayout object to Hierarchical.

    or in code

    UltraWebGrid1…

  • WebDropDown and WebDataTree

    I am trying to display a WebDataTree (attached to a self-referencing WebHierarchicalDataSource) within a WebDropDownControl. 

    Can someone provide a simple example that includes accessing the selected value in the tree? 

    All my efforts using Templates…