Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
98 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
139 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
66 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
325 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
195 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
116 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
148 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
144 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
102 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
3 answers
113 views
Hi.
I have radgrid with template column and enabled filtering for this column with ShowFilterIcon="false" CurrentFilterFunction="Contains" AutoPostBackOnFilter="true"
When I write sth in the filter field and press enter it works ok. Now I want sth like that. When I write something in this field, after 500ms I want to send it without clicking on the enter. How can I do that?
Viktor Tachev
Telerik team
 answered on 11 Jul 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?