Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
150 views
Hi, All:

I am using Rad Controls Q2 2008 (826) with Ajax.  Since my manager would like to have "Back" button in the browser working.  I might have to remove Ajax Controls, and install the non-Ajax Rad Controls.

Are they compatable?  if I go backward like that,  do I need to change codes a lot, beside remove ScriptManager and AjaxPanel....

thanks

Stanley
Vlad
Telerik team
 answered on 13 Oct 2008
1 answer
203 views
I have set a menu up to use sitemap and one with just adding items to it from IDE. Set the skin to Telerik and there is weird spacing going on between the items. I can see what seems to be a faint white line in between the borders of the main menu items. The borders seem to be wrong as well on the left and right sides. I tried to see if it was an issue with browsers but both IE7 and FireFox 3.0.1 show the same thing. There is nothing really on this page yet, but it is using site.master file and this is where the menu is located. This is also using the newest version of the menu.

Thanks,
Walter
Alex Gyoshev
Telerik team
 answered on 13 Oct 2008
4 answers
135 views
I have filtering enabled on both grids and the first grid filters fine but the details grid the filtering does not work at all.  I am following the example you guys just recently posted pretty closely.  Any help would be greatly appreciated.
Yavor
Telerik team
 answered on 13 Oct 2008
0 answers
100 views
- On the client side, new tab and pageview (linked to the new tab) are created dynamically. (Follow the Client Side tabstrip example)

- On the server side, I want to load an ascx into the newly created pageview. (Follow Load On Demand tabstrip example)

However, putting the two examples together doesn't seem to work. Is this possible?

Shawn
Top achievements
Rank 1
 asked on 13 Oct 2008
1 answer
111 views
       I want show NestedViewTemplate when row is in EditMode, but I don`t find a relationship between item in EditMode and NestedView asociated.

Thanks.



Shinu
Top achievements
Rank 2
 answered on 13 Oct 2008
1 answer
133 views

 

I have the following grid in my ASPX page. How can i add rows programatically (on server). 

GridDataItem item1 = new GridDataItem(RadGrid1.MasterTableView, 0, 0, GridItemType.Item);

 

 

does not work.


<

 

telerik:RadGrid ID="RadGrid1" runat="server" GridLines="None" Height="241px">

 

 

<MasterTableView>

 

 

<RowIndicatorColumn>

 

 

<HeaderStyle Width="20px"></HeaderStyle>

 

 

</RowIndicatorColumn>

 

 

<ExpandCollapseColumn>

 

 

<HeaderStyle Width="20px"></HeaderStyle>

 

 

</ExpandCollapseColumn>

 

 

<Columns>

 

 

<telerik:GridBoundColumn EmptyDataText="&amp;nbsp;" HeaderText="Column 1" UniqueName="COL1">

 

 

<HeaderStyle Width="60px" />

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn EmptyDataText="&amp;nbsp;" HeaderText="Column 2" UniqueName="COL2">

 

 

<HeaderStyle Width="60px" />

 

 

</telerik:GridBoundColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

 

<FilterMenu EnableTheming="True">

 

 

<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>

 

 

</FilterMenu>

 

 

</telerik:RadGrid>

 

Shinu
Top achievements
Rank 2
 answered on 13 Oct 2008
1 answer
245 views
Is there anyway to show a parent-child data in a grid which combines a treeview with a grid so that if the tree node is clicked the child rows are exposed?
Thanks,
Amrapali
Shinu
Top achievements
Rank 2
 answered on 13 Oct 2008
1 answer
78 views
I want to provide a filter function for one column only and I only want to provide the filter option "contains" in the filtering drop down list. How can I do that? Thank You.
Princy
Top achievements
Rank 2
 answered on 13 Oct 2008
1 answer
115 views

Hi,

I want to restrict user to not to Edit Few Columns. Here I am sending the Example which I am trying to implement the above functionality.

<telerik:RadGrid ID="RadGrid1" 

        Width="97%" Skin="Office2007"

            ShowStatusBar="True" AllowSorting="True" PageSize="7" GridLines="None" AllowPaging="True"

            runat="server" AllowAutomaticUpdates="True"

         AutoGenerateColumns="False"

        OnDataBound="RadGrid1_DataBound" onneeddatasource="RadGrid1_NeedDataSource">

            <PagerStyle Mode="NumericPages" />

            <MasterTableView Width="100%" DataKeyNames="OrderID,ProductID" EditMode="InPlace" AutoGenerateColumns="false">

              <Columns>

                <telerik:GridBoundColumn UniqueName="OrderID" DataField="OrderID" HeaderText="OrderID" ReadOnly="True" HeaderStyle-Width="20%" />

                <telerik:GridBoundColumn UniqueName="ProductID" DataField="ProductID" HeaderText="ProductID" ReadOnly="True" HeaderStyle-Width="15%" />

                <telerik:GridBoundColumn UniqueName="Quantity" DataField="Quantity" HeaderText="Quantity" HeaderStyle-Width="20%" />

                <telerik:GridDropDownColumn UniqueName="CbxUnitPrice" HeaderText="Unit price"

                 ListTextField="UnitPrice" ListValueField="UnitPrice" DataField="UnitPrice" HeaderStyle-Width="25%" />

                <telerik:GridBoundColumn UniqueName="Discount" DataField="Discount" HeaderText="Discount" HeaderStyle-Width="20%" />

              </Columns>

            </MasterTableView>

            <ClientSettings>

                <ClientEvents OnRowClick="RowClick" OnRowDblClick="RowDblClick"

                    OnGridCreated="GridCreated"   />

            </ClientSettings>

        </telerik:RadGrid>

 

C#:

 

    //Declare a global DataTable dtTable

    public static DataTable dtTable;

    //Declare a global SqlConnection SqlConnection

    //public SqlConnection SqlConnection = new SqlConnection("Data Source=local;Initial Catalog=Northwind;User ID=**");

    public static SqlConnection SqlConnection = new SqlConnection("server=.;database=Northwind;uid=sa;pwd=password");

    //Declare a global SqlDataAdapter SqlDataAdapter

    public SqlDataAdapter SqlDataAdapter = new SqlDataAdapter();

    //Declare a global SqlCommand SqlCommand

    public SqlCommand SqlCommand = new SqlCommand();

protected void RadGrid1_NeedDataSource(object source, GridNeedDataSourceEventArgs e)

    {

        string StrCon = "SELECT TOP 18 * FROM  OrdersDetails";

        SqlDataAdapter dap = new SqlDataAdapter(StrCon, SqlConnection);

        DataSet ds = new DataSet();

        dap.Fill(ds, "OrdersDetails");

        this.RadGrid1.DataSource = ds.Tables[0];

       

       

    }

 

In the above Example I want restrict user to not to edit “Quantity” Column.

Please Guide me in this regards.

Shinu
Top achievements
Rank 2
 answered on 13 Oct 2008
1 answer
117 views
If I disable the paging function of the grid, how can I show the "total number of records" at the bottom of the grid? Thanks.
Princy
Top achievements
Rank 2
 answered on 13 Oct 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?