Jump to content
Software FX Community


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About klimekt

  • Rank
    Advanced Member
  1. I don't see the timeout settings in the new version, where should I be looking?
  2. I thought I would check in again now that it's been almost a year since I last checked, has this feature been added yet?
  3. The grid displays results of user designed queries, so there is no way to predict the dataset structure at design time. It has to be flexible enough to display whatever is throw at it. If you could provide me with a hotfix that would keep my development going until the service pack is available. Thanks, Tomasz
  4. I'm trying to create a grid that's databound at runtime. I've set the grid datasource to <In Code> and I followed the example in the resource center, using the DataSourceSelecting event and assigning the grid datasource to the defaultview of a table in a dataset. When I do this I get the right number of rows in the grid, but there is only one empty column, no data is displayed. If I assign the same defaultview to a standard gridview control it displays the table content correctly. Do I have to define each column in the table manually to accomplish this? I couldn't figure out how to do this since it doesn't seem possible to create a new datafield in the code, only imagefield. Any help would be appreciated. Tomasz
  5. Yes, that'll be fine, thanks. Please drop me an email let me know when it's available. Tomasz
  6. Has an ability to modify / extend the timeout popup been added to gridfx yet? Thanks, Tomasz
  7. I've sent several email to the support email and still haven't received any reply.
  8. There is no ajax on this page, the only assemblies included are gridfx related.
  9. No clues? I would really like to get this to work, it's pretty much production ready except for this one annoying problem.
  10. My current version is 1.0.2994.21460 The only code pertaining to the grid is: Protected Sub Grid4_ItemDeleted(ByVal sender as object, ByVal e As GridFx.WebForms.GridItemDeletedEventArgs) Dim grid4 as GridFX.WebForms.Grid = sender grid4.databind() End Sub I also set page.maintainscrollpositiononpostback = true in pageload, not sure if this has any effect on the grid. As I said, if I remove the databind I get the index out of bounds error, if I leave it in I get the load state error after deleting the last item and clicking anything that causes a callback. Here's the markup for this grid: <GridFX:Grid ID="Grid4" runat="server" DataSourceID="SqlDataSource5" Motif="Elegant" Palette="Professional" OnItemDeleted="grid4_itemdeleted" Width="330px" > <DataFields> <GridFX:NumberField DataPath="uid" IsKey="True" ReadOnly="True"> </GridFX:NumberField> <GridFX:NumberField DataPath="threshold" ReadOnly="True"> </GridFX:NumberField> <GridFX:LookupField DataPath="PrRng_ID" Title="Metric" UniqueID="PrRng_ID1" ReadOnly="True"> <LookupDataSource ControlID="SqlDataSource6" TextDataPath="ProcessType" ValueDataPath="ID" /> <Input ControlType="DropDown" /> <Grouping> <IntervalMarkup> <GridFX:DistinctValuesInterval IncludeFieldTitleInTitle="False" Title="{Value} " /> </IntervalMarkup> </Grouping> </GridFX:LookupField> <GridFX:LookupField Title="Notification Type" UniqueID="Notification Type" DataPath="threshold" ReadOnly="True"> <LookupItems> <GridFX:LookupItem Text="On Any Threshold Change" Value="0" /> <GridFX:LookupItem Text="<FONT COLOR='GREEN'>On Green (Meets Standard)</FONT>" Value="1" /> <GridFX:LookupItem Text="<FONT COLOR='YELLOW'>On Yellow (Marginal)</FONT>" Value="2" /> <GridFX:LookupItem Text="<FONT COLOR='RED'>On Red (Substandard)</FONT>" Value="3" /> <GridFX:LookupItem Text="<FONT COLOR='BROWN'>On Brown (No Data Expected)</FONT>" Value="4" /> <GridFX:LookupItem Text="On Black (Unreported)" Value="5" /> <GridFX:LookupItem Text="Always" Value="9" /> </LookupItems> <Input ControlType="DropDown" /> </GridFX:LookupField> <GridFX:TextField DataPath="location_name" ReadOnly="True" Title="Location"> <Format> <DigitalPanel Height="50px" Width="200px"> </DigitalPanel> </Format> </GridFX:TextField> </DataFields> <Border Type="None" /> <ToolBar Visible="False"> </ToolBar> <FloatingBar Enabled="False" /> <Columns> <GridFX:FieldColumn Field="location_name"> </GridFX:FieldColumn> <GridFX:FieldColumn Field="Notification Type"> </GridFX:FieldColumn> <GridFX:TemplateColumn Style-Header-Bold="False" Style-Header-FontSize="X-Small" Style-Header-ForeColor="ControlText" Style-Header-Italic="False" Style-Header-Underline="False" Width="80px"> <ItemTemplate> <GridFX:CommandButton ID="UnSubButton" runat="server" ButtonType="Push" Command="DeleteItem" Font-Size="X-Small" Text="Unsubscribe" /> </ItemTemplate> </GridFX:TemplateColumn> </Columns> <Grouping Enabled="True"> <RootLevel Expanded="True" Field="PrRng_ID1"> </RootLevel> </Grouping> <Paging Enabled="False"> </Paging> <ItemStyles> <MainStyle FontFamily="Verdana" ForeColor="Black" /> </ItemStyles> <EmptyData Description="Select a subscription and click the Subscribe botton" Heading="No {DataNoun.PluralTitle} Found"> <Image Visible="False" /> </EmptyData> <DataNoun PluralLower="alert subscriptions" PluralTitle="Alert Subscriptions" SingularLower="alert subscription" SingularTitle="Alert Subscription" /> <Filtering Enabled="False"> </Filtering> <Selection Enabled="False" /> </GridFX:Grid> Please let me know if you need any further information and thanks in advance for your efforts to solve this. Tomasz
  11. Any thoughts why I'm seeing these errors? Thanks, Tomasz
  12. I have two different gridfx controls on the page and they both exhibit this problem. I use the design time delete functionality, however I do have an item deleted handler for each grid that databinds the grid. For some reason I had to do this, without the databind I get the following error on delete: "Index out of range. Must be non-negative and less then the size of the collection. Parameter name: Index" With the databind in the item deleted handler the delete works fine, but upon the delete of the last item I get an error as described before. The "failed to load viewstate" error occurs after the page load event, but before any of the other events I use (databinding, databound, rendering) are called.
  13. I have a grid that has a Delete Item button in each row. This works well except when I delete the last item in the grid and then click a button on the page I get following error: "Failed to load viewstate. The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request. For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request." Any idea what's causing this?
  14. I was hoping to do this on the design side, but this works very well also, thanks!
  • Create New...