We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Grid doesnt appear

Thread ID:

Created:

Updated:

Platform:

Replies:

118123 Feb 3,2015 05:04 AM Feb 4,2015 03:56 AM ASP.NET Web Forms 1
loading
Tags: Grid
Steve Shepherd
Asked On February 3, 2015 05:04 AM

Hello,

I thought I'd try this board as the Support Board doesnt seem to be responding. I'm a newcomer to Syncfusion, but have been using Telerik until now.

First attempt at a Grid using an SQLDataSource, all the data is produced from the SQL query and is sitting in the output page in a JSON structure, but nothing appears on screen.

It must be something really simple, but I cant see it! Code is:

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2" %>

<%@ Register assembly="Syncfusion.EJ.Web, Version=12.4400.0.24, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" namespace="Syncfusion.JavaScript.Web" tagprefix="ej" %>
<%@ Register assembly="Syncfusion.EJ, Version=12.4400.0.24, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89" namespace="Syncfusion.JavaScript.Models" tagprefix="ej" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>

    <asp:SqlDataSource ID="SqlDataSourceAssetTypes" runat="server" ConnectionString="<%$ ConnectionStrings:HydraConnectionString %>"
                    SelectCommand="GetAssetTypes" SelectCommandType="StoredProcedure"  >
                    <SelectParameters>
                        <asp:QueryStringParameter DefaultValue="0" Name="typeSetId" QueryStringField="typeSetId" Type="Int32" />
                    </SelectParameters>
                </asp:SqlDataSource>

        <ej:Grid ID="Grid1" runat="server" DataSourceID="SqlDataSourceAssetTypes" MinWidth="0">
                <Columns>
                    <ej:Column Field="atId" HeaderText="Id" width="10%" Template="">
                        <numericeditoptions tag="" />
                    </ej:Column>
                    <ej:Column Field="atName" HeaderText="Name" width="30%" Template="">
                        <numericeditoptions tag="" />
                    </ej:Column>
                    <ej:Column Field="atDescription" HeaderText="Description" width="60%" Template="">
                        <numericeditoptions tag="" />
                    </ej:Column>
                </Columns>
        </ej:Grid>
    
    </div>
    </form>
</body>
</html>

And code behind:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Default2 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {

    }
}

Thanks,

Steve


Prasanna Kumar Viswanathan [Syncfusion]
Replied On February 4, 2015 03:56 AM

Hi Steve,

Thanks for using Syncfusion Products

 

We found that you have created a support incident for the same query under your Direct Trac account, we request to follow up with the incident for further updates from our engineer.  Please log on to our support website to check for further updates.

Link :https://www.syncfusion.com/account/login?ReturnUrl=/support/directtrac/incidents

Please let me know if you have any queries,

Regards,

Prasanna Kumar N.S.V



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;