Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
45 views
Hi Telerik Team,
we have started to redefine the look and feel of the website .
Through out the application we are using Telerik ASP.net controls .can you please let me know whether we have any telerik ctrls i can use for themes or standarad ASp.net themes.
Also if telrik ctrls exist, Are  they designed to work together?

Regards!
--Naren
Rumen
Telerik team
 answered on 17 Dec 2012
1 answer
72 views
Hi,

I am looking for a search custom control which would have 3 columns: Search Field | Operator | Search Value

Since, I am looking at 16 different tables, I don't know how I can work with the Filter control. I was wondering if Telerik had a custom search box control which would allow you to search for values for the fields specified.

The design of the search box control would be like.

Search field Operator Search Value
ComboBox 1 (contains all the fields from the Table) ComboBox (AND, OR, NOT, EQUAL TO) Text Box 1
ComboBox 2 (contains all the fields from the Table) ComboBox (AND, OR, NOT, EQUAL TO) Text Box 2
ComboBox 3 (contains all the fields from the Table) ComboBox (AND, OR, NOT, EQUAL TO) Text Box 3

Does Telerik have anything similar to this?

Thanks,
Swamy
Eyup
Telerik team
 answered on 17 Dec 2012
7 answers
523 views
Hello,

can someone explain me the RadGrid behaviour on pressing the enter.
I've a radgrid with property AllowSubmitOnEnter is set to false. This causes strange behaviour. Sometimes the Enter Key causes an InitInsert and sometimes it causes an Edit command.
I expect the enter key always to do an update. Can someone tell me how to force this behaviour?

Regards,
  Jos Meerkerk
Eyup
Telerik team
 answered on 17 Dec 2012
2 answers
184 views
Hi, I am using RadControls for ASP.NET AJAX Q2 2012 SP1. I am developing an asp.net web page that using RadGrid. I use Entity Framework to get the data from the database. I have 2 entities and the relationship between them is many to many , the below code is for example :
public class User
    {   
        public System.Guid UserId { get; set; }
        public string UserName { get; set; }
 
        public virtual ICollection<Role> Roles { get; set; }
    }
public class Role
    {   
        public System.Guid RoleId { get; set; }
        public string RoleName { get; set; }
     
        public virtual ICollection<User> Users { get; set; }
    }

An user can have many roles and a role can have many users. Then I have a RadGrid that binds a list of User entity to it, I want to filter the RoleName property , for example I want to filter users that have the "Administrator" role name, how can I achieve this ? What I have to to put in "DataField" attribute of that column ? I searched a lot on google and I haven't found any solution for filtering navigation property with ICollection datatype. Please help me
Thank you very much !
Best regards.
Eyup
Telerik team
 answered on 17 Dec 2012
1 answer
139 views
Hi there,

let's just straight to the case:

  • I Have a RadGrid Which i have declared in Design Time:
<telerik:RadGrid ID="grdResult" runat="server" Width="100%" AutoGenerateColumns="false"
        AllowPaging="true" PageSize="25" ShowHeader="true">
        <MasterTableView AutoGenerateColumns="False">
            <Columns>
            </Columns>
            <NoRecordsTemplate>
                <div> Search did not match with any of the existing data.</div>
            </NoRecordsTemplate>
        </MasterTableView>
    </telerik:RadGrid>
  • What i want to do with it is that i want to add the column dynamically while in run time, and the data is comming from Sharepoint List
GridBoundColumn col = new GridBoundColumn();
 
            col = new GridBoundColumn();
            col.HeaderText = SystemConstants.ExtenalName_Col1;
            col.DataField = SystemConstants.InternalName_Col1;
            grdResult.MasterTableView.Columns.Add(col);
 
            col = new GridBoundColumn();
            col.HeaderText = SystemConstants.ExtenalName_Col2;
            col.DataField = SystemConstants.InternalName_Col2;
            grdResult.Columns.Add(col);
 
            col = new GridBoundColumn();
            col.HeaderText = SystemConstants.ExtenalName_Col3;
            col.DataField = SystemConstants.InternalName_Col3;
            grdResult.MasterTableView.Columns.Add(col);
 
            col = new GridBoundColumn();
            col.HeaderText = SystemConstants.ExtenalName_Col4;
            col.DataField = SystemConstants.InternalName_Col4;
            grdResult.MasterTableView.Columns.Add(col);
 
            col = new GridBoundColumn();
            col.HeaderText = SystemConstants.ExtenalName_Col5;
            col.DataField = SystemConstants.InternalName_Col5;
            grdResult.MasterTableView.Columns.Add(col);
 
            col.HeaderText = "View"; //this will be hyperlink column
            grdResult.Columns.Add(col);

The Problem is:
  • When I have not bind it to any data why the does not show up at all? not event the header text?
  • How do i bind / populate the grid ? *tried the documentation but as far as i see everything is using database..

Notes:
  • I do not use the onNeedData event because i want to populate the grid after the user finish inputing the search criteria in the form and click the search button.

thanks in advance
Nahwin
Top achievements
Rank 1
 answered on 17 Dec 2012
6 answers
182 views
Hi,

I have a treeview in which I load the first two levels server side on PageLoad. Children will be loaded using Webservice load on demand and it works well. I have one problem though, when handling the RadTreeView_OnContextMenuClicked event serverside, the e.ClickedNode property is null. So when clicking context menu items, the event fires but when I want to handle the c.clickednode its null. It works with the server side loaded nodes...

What am I missing?
Martin
Top achievements
Rank 1
 answered on 17 Dec 2012
1 answer
152 views
Can someone help me with how I would display a processing message to my users?  I have a page that allows them to edit lots of items then I have to submit those changes to the database.  This can take up to a couple minutes depending on how many items they updated.  How can I give them a message to let them know that everything is working?

Thanks.
Shinu
Top achievements
Rank 2
 answered on 17 Dec 2012
3 answers
292 views
Hello,

I have this scenario:

I use as datasource a dataset defined in a string where a column is a boolean.
My Radgrid is build at runtime and i want to see a checkbox for boolean column and not a textbox. How can i do this?

My dataset structure:

<?xml version="1.0" encoding="utf-16"?>
<xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
  <xs:element name="NewDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="Table1">
          <xs:complexType>
            <xs:sequence>
              <xs:element  name="ID" msdata:AutoIncrement="true" type="xs:int" minOccurs="0" />
              <xs:element name="Cognome" type="xs:string" minOccurs="0" />
              <xs:element name="Nome" type="xs:string" minOccurs="0" />
              <xs:element name="Info" type="xs:string" minOccurs="0" />
              <xs:element name="Confermato" type="xs:boolean" default="false" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
  </xs:element>
</xs:schema>

Help me.

Mirko
Princy
Top achievements
Rank 2
 answered on 17 Dec 2012
3 answers
191 views
Hi all,
     I have a grid in which i have used commanditemdisplay. Can I hide it from the code behind. If yes how??
thanks for all replies
RT
Shinu
Top achievements
Rank 2
 answered on 17 Dec 2012
2 answers
113 views

Hi,

I have a RadPanelBar, which includes several panelitems.  I put a radtreeview under each of the item. then add the first-level treenodes to them programmatically, and the node Expandmode has been set to "ServerSideCallBack" so that the second level node can be expanded on demand.

The program works ok but the only issue is the Scrollbar does not appear automartcally when I expanded the treenode and the content exceed the height. But if I set the Expand="True" and "Selected="true" at the panelitem then the scrollbar appear. But logically only one can be expanded and selected, how to fix this?

I am using the latest build (2012.3.1205.35) and tried on IE 9/Google Chrome, same result

<telerik:RadPanelBar ID="panelBarMain" runat="server" Width="100%"
Height="100%" ExpandMode="FullExpandedItem"
Skin="Office2007"><BR><Items><BR><telerik:RadPanelItem
Value="Trackings" Text="Trackings"
Visible="false"><BR><ContentTemplate><BR><telerik:RadTreeView
ID="treeTracking"
runat="server"><BR><Nodes><BR></Nodes><BR></telerik:RadTreeView><BR></ContentTemplate><BR></telerik:RadPanelItem><BR><telerik:RadPanelItem
Value="Tenders" Text="Tenders" Visible="false" Expanded="true"
Selected="true"><BR><ContentTemplate><BR><telerik:RadTreeView
ID="treeTenders"
runat="server"><BR></telerik:RadTreeView><BR></ContentTemplate><BR></Items><BR></telerik:RadPanelBar>

Andy Ho
Top achievements
Rank 1
 answered on 17 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?