Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
203 views
Is there a way using the RadCalendar or setting the Calendar for the RadDatePicker to set the first week that appears in the calendar pop-up to the current week. For example, like today, the date is November 17th. I want the calendar to start from Sunday the 15th and display half of December, instead of displaying the whole entire month of November. I am not concerned with the days of this month that have already passed, but I don't want to just disable those days, I don't even want to show them. Is this possible?
Shinu
Top achievements
Rank 2
 answered on 18 Nov 2009
2 answers
108 views

Hi All,


In a Webform i have two asp.net text boxes (Search fields) and one  asp.net button(Search Button),
one RadGrid to show search results based on the search fields given, after search button click.

On search button click post back is happening and In RadGrid all the grid events are not doing post backs cos i used Ajax manager and AjaxUpdatedControl.

Now i want not to happen post back on search button click, what i need to do to avoid post back on search button click.

Please help me regarding this.
pradeep k
Top achievements
Rank 1
 answered on 18 Nov 2009
1 answer
292 views
in Design view I can see the filter icons by the filter box, however in run mode the filter icons don't show, what setting do I need to set it is difficult to see from the examples.




Princy
Top achievements
Rank 2
 answered on 18 Nov 2009
2 answers
117 views
Hi,

I found that wjen I use 'GridDateTimeColumn' two times, in edit mode when I press first control the second block popup calendar.

http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/filteringdetailtables/defaultcs.aspx

Can you explain me how I can solve this issue

Z.Rusev


Griffin
Top achievements
Rank 1
 answered on 18 Nov 2009
4 answers
297 views

Hi
I have a Nested Grid.In That I want To Fine The DataKey Value in java script in RowContextMenu Client Event.
here i want to fine the "providerid" where detail Table Name="Providers".
Can Any help Me Please.....

 <telerik:RadGrid ID="RadGridAudio" runat="server" AllowPaging="True" GridLines="None" 
                GroupingEnabled="true" PageSize="20" Skin="Sunset" ShowGroupPanel="True" ShowFooter="True"
                <MasterTableView DataKeyNames="clientid"
                    <DetailTables> 
                        <telerik:GridTableView Name="Accounts" DataKeyNames="accountid" runat="server"
                            <ExpandCollapseColumn Visible="True"
                            </ExpandCollapseColumn> 
                            <DetailTables> 
                                <telerik:GridTableView Name="Providers" DataKeyNames="providerid" runat="server"
                                </telerik:GridTableView> 
                            </DetailTables> 
                        </telerik:GridTableView> 
                    </DetailTables> 
                    <ExpandCollapseColumn Visible="True"
                    </ExpandCollapseColumn> 
                </MasterTableView> 
                <ClientSettings AllowDragToGroup="True" EnableRowHoverStyle="True"
                    <ClientEvents OnRowContextMenu="RowContextMenu" /> 
                    <Selecting AllowRowSelect="True" /> 
                </ClientSettings> 
            </telerik:RadGrid> 

Java Script
 <script type="text/javascript"
           
            function RowContextMenu(sender, eventArgs)  
            {  
               if(eventArgs.get_tableView().get_name() == "Providers")  
                {  
               
                var menu = $find("<%=RadCMenu1.ClientID %>");                  
                var evt = eventArgs.get_domEvent(); 
                 var GetNewValue=eventArgs.getDataKeyValue("providerid"); 
                     document.getElementById("radGridClickedRowIndex").value = GetNewValue
                     alert(GetNewValue) 
                     var index = eventArgs.get_itemIndexHierarchical(); 
                     alert(index) 
                     alert(sender.get_masterTableView().get_dataItems()[index].get_element()) 
                if(evt.target.tagName == "INPUT" || evt.target.tagName == "A")  
                {  
                  return;  
                }                  
                menu.show(evt);   
            
                }                              
            }  
</script> 




Thank you
Suresh K.

Suresh K
Top achievements
Rank 1
 answered on 18 Nov 2009
1 answer
76 views
Hi,

I am currently working on a web application which displays a grid on a screen as shown on http://www.gouw.ws/Telerik/SRA.jpg

I have 2 questions to ask regarding the grid above:

1. When the user clicks on one of the grid headers (i.e. 2010Q1 or 2010Q2 or 2002Q3, ..., 2013Q3 or 2014Q1), the web application will redirect to a new screen passing the string "2010Q1" or "2010Q2" or "2002Q3", ..., "2013Q3" or "2014Q1" on the query string.

Can you please tell me how to implement this (i.e. how to find out when one the grid headers 2010Q1 or 2010Q2 or 2002Q3, ..., 2013Q3 or 2014Q1 has been clicked?

2. When the user clicks the first column of each row (i.e. 15 Jun 2009, 15 Sep 2009, 15 Dec 2009, ..., 15 Sep 2013, 15 Dec 2013), the web application will redirect to another screen passing string "15 Jun 2009", "15 Sep 2009", "15 Dec 2009", ..., "15 Sep 2013", "15 Dec 2013" on the query string..

Can you please tell me how to implement this (i.e. how to detect when one of the first column of each row 15 Jun 200915 Sep 200915 Dec 2009, ..., 15 Sep 201315 Dec 2013 has been clicked and to ignore when the other columns of each row are clicked)?

Thanks & regards,
Herman Gouw
Skype: hermangouw
Herman Gouw
Top achievements
Rank 2
 answered on 18 Nov 2009
3 answers
74 views
Hi All,

I am using client side exporting grid to excel, i dont want to export all the colums from grid, how can i do this.

Please help me regarding this.
pradeep k
Top achievements
Rank 1
 answered on 18 Nov 2009
2 answers
163 views

Hello,

I can't figure out how to reference a RadioButtonList in a RadGrid GRidtemplate column header template:

 

<Columns>  
<telerik:GridTemplateColumn DataField="cd_nr" HeaderText="cdNr" UniqueName="cdNr"
  
<HeaderTemplate>  
<asp:RadioButtonList ID="rbtnLst_cdNo" runat="server" RepeatDirection="Vertical"
  
<asp:ListItem Text="1" Value="1"></asp:ListItem>  
</asp:RadioButtonList> 
  
</HeaderTemplate> 

 

 

In codebehind, I have:
RadioButtonList selCd = rGrd_trckList.MasterTableView.FindControl("rbtnLst_cdNo") as RadioButtonList;

but that's just null.

What am I missing?
knut

 

 

 

 

 

 

 

 

Knut
Top achievements
Rank 1
 answered on 18 Nov 2009
3 answers
142 views
HI,

I am using 2008.3.1105.35 of the asp.net ajax controls.

I want to know if the Grid control can be created in such a way as to display any number of nested "child" or detail tables.  I need to represent a parent - child relationship where the children can have children, which can have children, and on and on. 

I also need to be able to insert / edit / delete another child table at any level in the grid.
An example will give you a clearer picture of what I want to do.  Here is an example of how my data might look:

-- ParentGroup1
      ChildGroup1
          Task1
          Task2
--ParentGroup2
       Task1
       ChildGroup1
             Task2
             ChildGroup2
                   ChildGroup3
                          Task1
--ParentGroup3
       ChildGroup1
         .....
             ChildGroupN
                   Task1

Users can add ChildGroups to ParentGroups or to other ChildGroups, at any level.  There is no restriction on the levels of groups.

I've seen the Self Referencing Hierarchy grid example below, but I don't see how that would be a solution to my problem. 
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/selfreferencing/defaultcs.aspx

Q.  Can I use the Telerik grid to accomplish this?

If so, would I need to do it all programatically?  Like, by adding detail tables on the fly?

Thanks In Advance.
sahil
Top achievements
Rank 1
 answered on 18 Nov 2009
2 answers
192 views
I have created a photo-upload feature for our website using radUpload. We want users to provide a title and description for each image. The 'Adding Additional Fields' example did the trick there.

How would one go about validating these additional fields so that we can require the title/description?

Anyone have an example?

Thanks.
Nikesh Bhagat
Top achievements
Rank 1
 answered on 18 Nov 2009
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?