Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
90 views
I have AllowAutomaticInserts = false

but it still shows on the grid is it because I have editMode = Batch?

<telerik:RadGrid ID="dgGrid" runat="server"
            AllowAutomaticUpdates="True"
            AutoGenerateColumns="False"
            CellSpacing="0"
            GridLines="None"
            Skin="Sitefinity"
            Width="100%"
            AllowAutomaticDeletes="True"
            AllowAutomaticInserts="False">
            <ClientSettings>
                <Selecting AllowRowSelect="True" />
            </ClientSettings>
            <MasterTableView AllowNaturalSort="False" EditMode="Batch" BatchEditingSettings-OpenEditingEvent="DblClick">
                <BatchEditingSettings EditType="Cell" />
                <PagerStyle PageSizeControlType="RadComboBox" />
            </MasterTableView>
            <ItemStyle Wrap="False" />
        </telerik:RadGrid>


=================================== CODE

 

 

With dgGrid

 

 

 

'.MasterTableView.Columns.Add(editcolumn)

 

.MasterTableView.CommandItemDisplay =

 

GridCommandItemDisplay.Bottom

 

.MasterTableView.BatchEditingSettings.EditType =

 

GridBatchEditingType.Row

 

.MasterTableView.AllowAutomaticInserts =

 

False

 

 

 

End With

 



Princy
Top achievements
Rank 2
 answered on 12 Jul 2013
1 answer
87 views
Hi
I want to track multiple people work history in scheduler control, and it should be happened with filter, if i select one user it should show tasks related to that person only.

Left side it should show the user with check boxes and once if i select the check box data should display in scheduler control accordingly.

Could you help me how to apply filters to scheduler control.
Plamen
Telerik team
 answered on 12 Jul 2013
1 answer
121 views
Hi, 
I dont know which section to post this.
I have a sharepoint project. With 2 web parts(assume Grid 1 and 2) each having a radgrid. I created another webpart with having both of those webparts as usercontrol. Grid 1 is a normal radgrid and Grid 2 has a gridItemTemplate column which has a RadComboBox and a RadListBox. (See attachment for clarification)

I have attached the a sample project. To recreate the issue,  Add the "VisualWebPart1" to a page. It will have 2 grids with no data. Click add record in the top grid (i.e Grid 1). Then click add record on the bottom grid(i.e Grid 2). I get script error on the following line.

"Telerik.Web.UI.RadListBox._preInitialize("ctl00_m_g_48fd96ff_fcd9_4ad7_b892_f17a26434abb_ctl00_grid2_RadGrid2_ctl00_ctl03_ctl01_rdSelectedUsers","0");"

Error : "SCRIPT5007: Unable to get value of the property '_preInitialize': object is null or undefined "


Download Sample Proj.
Plamen
Telerik team
 answered on 12 Jul 2013
1 answer
60 views
Hi,

I have a RadGrid Inside TabTemplate of RadTabStrip. I upload the data to RadGrid from an asp button click event(c# ode).

The problem is I am not able to findcontrol of RadGrid from the button. 

Can someone tell me how to get around this problem?

Code for Button:

protected void Button2_Click(object sender, EventArgs e)
{filldata();
}
filldata()
{
radgrid1.DataSource=list; // list is my data source
radgrid1.DataBind();
}


Also, I don't have license to Radtabs hence using TabTemplate. I have also tried findcontrol but its not working with button EvenArgs.

RadGrid grv1 = (RadGrid)RadTabStrip1.FindControl("radgrid1");

Thanks,
Shinu
Top achievements
Rank 2
 answered on 12 Jul 2013
4 answers
309 views
I'm having an issue where my sorting appears to be working properly on the client, but when i select a row from the sorted records, i get the data for that row from the previous, un-sorted record. 
So if my original data set looked like:
12345

After the sort it looked like:
54321

And i select "4", programmatically it returns "2".

Any ideas?

Thanks in advanced for your help.
Princy
Top achievements
Rank 2
 answered on 12 Jul 2013
1 answer
189 views
I have multiple RadListBox that basically are doing the same and has more likely the same behavior except maybe for the data, so I want to use the same RadContextMenu for all of them but on the OnItemClick(server side) I need to know which of those controls call it, How can I approach this?
Thanks in advance
Shinu
Top achievements
Rank 2
 answered on 12 Jul 2013
1 answer
108 views
For some reason the NoMasterRecordsText is not displaying correctly and wrapping to the extreme.

I've attached a picture to visually display what I'm getting, but also Here's the grid code i'm using:
  <telerik:RadGrid ID="grdMarkups" AllowMultiRowSelection="false" PagerStyle-AlwaysVisible="false" PagerStyle-Mode="NextPrevNumericAndAdvanced" runat="server" Width="99.9%" Height="99.9%" AllowPaging="false" AllowSorting="false" AutoGenerateColumns="False" GridLines="None">
    <SortingSettings SortedBackColor="Transparent" />
     
    <MasterTableView AllowPaging="false"  NoMasterRecordsText="There are no markups for this document.">
         
        <Columns>
                   <telerik:GridBoundColumn DataField="Id" Display="false"></telerik:GridBoundColumn>
                                                
            <telerik:GridBoundColumn DataField="Item_Name" HeaderText="Name" Visible="true" ItemStyle-Wrap="false"></telerik:GridBoundColumn>
               <telerik:GridBoundColumn DataField="Revised_By" HeaderText="Revised By" HeaderStyle-Width="20%"  ItemStyle-CssClass="contactInfoXSmallNormal" ItemStyle-Wrap="true"></telerik:GridBoundColumn>
                  <telerik:GridBoundColumn DataField="Revised_Date" HeaderText="Revised On" HeaderStyle-Width="20%"  ItemStyle-CssClass="contactInfoXSmallNormal" ItemStyle-Wrap="true"></telerik:GridBoundColumn>
             <telerik:GridBoundColumn DataField="Last_Edit" HeaderText="Last Edit" HeaderStyle-Width="20%"  ItemStyle-CssClass="contactInfoXSmallNormal" ItemStyle-Wrap="true" Display="false"></telerik:GridBoundColumn>
                 <telerik:GridBoundColumn DataField="Original_Filename" HeaderText="Original File" Display="false" ItemStyle-Wrap="true" HeaderStyle-Width="20%"></telerik:GridBoundColumn>
            <telerik:GridHyperLinkColumn  DataNavigateUrlFields="MarkupURL" UniqueName="Markup" HeaderTooltip="Click to view more details about the document" HeaderText="View" Text="View" Target="_blank" HeaderStyle-Width="10%" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center">
                </telerik:GridHyperLinkColumn>
 
           <telerik:GridTemplateColumn HeaderText="Download" UniqueName="Download" HeaderStyle-Width="11%" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" Display="false">
                <ItemTemplate>
                    <button value="Download" style="width:90%"  title="Download this document"  class="contactInfoXXSmall" type="button" onclick="downloadSingleDocument('<%# Eval("Id") %>');">Download</button>
                     </ItemTemplate>      
            </telerik:GridTemplateColumn>
 
                   <telerik:GridTemplateColumn HeaderText="View" HeaderStyle-Width="5%" HeaderStyle-HorizontalAlign="Center" ItemStyle-HorizontalAlign="Center" Display="false">
                <ItemTemplate>
                    <button value="View" style="width:90%" title="View this document" class="contactInfoXXSmall"  onclick="viewSingleDocument('<%# Eval("Id") %>');">View</button>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
                                     
        </Columns>
  
    </MasterTableView>
 
    <ClientSettings EnableRowHoverStyle="false">
                        <Selecting AllowRowSelect="true" />
                        <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                    </ClientSettings>
                     
                                 
 
</telerik:RadGrid>
Princy
Top achievements
Rank 2
 answered on 12 Jul 2013
1 answer
143 views
Hey, i want to set autocomplete in my textbox search if user already input 9 character in that textbox.
so what can i use to do this? ajax? jquery? or any telerik setting?
anybody know about this? thanks before


FYI: i use a WCF service , not a datasource
Shinu
Top achievements
Rank 2
 answered on 12 Jul 2013
2 answers
135 views
i use RequiredFieldValidator to validate radtextbox,SetFocusOnError="true"
telerik version:2012Q3

first ,enter " ",validate event fire, display “notnull”
sencond,enter “123” ,radtextbox not set value,validate event not fire

asp.net textbox is ok

code:
<telerik:RadTextBox ID="txtAppId" runat="server" Width="300" AutoPostBack="false">
        </telerik:RadTextBox>
        <%--<asp:TextBox ID="txtAppId" runat="server" Width="300" AutoPostBack="false">
        </asp:TextBox>--%>
        <asp:RequiredFieldValidator ID="TextBoxRequiredFieldValidator" runat="server" Display="Dynamic"
            ControlToValidate="txtAppId" Text="NOT NULL" ErrorMessage="NOT NULL" SetFocusOnError="true">                          
        </asp:RequiredFieldValidator>

parlardin
Top achievements
Rank 1
 answered on 12 Jul 2013
1 answer
97 views

I'm using a Telerik component rad grid in my web page, I want have on the fly filtering like this 

http://www.datatables.net/release-datatables/extras/FixedColumns/col_filter.html

When user type a text in the above text-box can see real-time changing in grid view.Rad grid has a filtering for each column. 

My question are:
How do can i implement such this filtering in rad grid Telerik?If possible can you please provide an example source 
Thanks in advance

Viktor Tachev
Telerik team
 answered on 11 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?