Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
235 views
Hello!

Does someone tryed to parse RecurrenceRule? I'm binding RadScheduler to List (example: http://www.telerik.com/DEMOS/ASPNET/Prometheus/Scheduler/Examples/BindToList/DefaultCS.aspx) generated by LINQ 2 SQL and as an addon to calendar I want to have upcoming events list (lets say 2 weeks ahead or maybe showing next 5 events). There is no problems with events which have no recurrency but how to parse appointments which are recurrent? Any ideas?

Thanks
T. Tsonev
Telerik team
 answered on 05 Aug 2008
1 answer
110 views
hi i am using the customized skin for the slider control, the skin is working fine in a internet explorer but its not visible in mozila fire fox. the fire fox version is 2.0
regards
shahid
Tsvetie
Telerik team
 answered on 05 Aug 2008
1 answer
106 views
hi,
i m new in telerik
please tell
1) How to bind child grid without use any data source control ?
2) Find Datakeys value for parent grid in itembound event....

in advance thanks for help.

Princy
Top achievements
Rank 2
 answered on 05 Aug 2008
3 answers
112 views
I am using Q1 2008. I am trying to get the first row of the current grid page in PageLoad function of server side. The problem is that when I switch the page of the grid to 2, it still get the first row of the first page instead of second page. So I want know how I can do it. Thanks.
Sebastian
Telerik team
 answered on 05 Aug 2008
1 answer
195 views
Hi I need some help.

Basically I am using Rad Strip and multiview. What I want to do is have 4 tabs and I don't want them to be enabled. When the page loads it should load the ascx related to first tab. There is a next button in that ascx when someone click there he should go to the second tab. Tabs would remain disabled just selected though. On the second tab I have to load data from database and show that. Data is presented in Treeview. If some selects any node and click next on that ascx control he is redirected to third tab and another tree view in that ascx loads the data according to previous ID. All the ids are in session.
The problem is when i click the next button on first ascx page it passes the postback for the second ascx so it doesn't load the data. Moreover I am also using RadWindow on the second ascx to show something. That radwindow has to reload the parent page when closing so if I close it, it goes back to first tab.

I hope you understand what I am trying to achieve here.
Thanks
Atiq
Paul
Telerik team
 answered on 05 Aug 2008
1 answer
86 views
Hi ,

I have a grid in which I had to populate a new row for a new product. I am showing the grid in the edit mode.( used AllowMultipleRowEdit=true)

My question is how to identify new rows from old rows.And how Iinsert the new ones and  update the old ones to the  database accordingly.

I respect all your time.

Thanks.
Shinu
Top achievements
Rank 2
 answered on 05 Aug 2008
1 answer
131 views
Hi,

I have just bought Telerik controls and working on Image Menu. I need some help on it.

I have five top menu items with five images for them. I require gap between themwhat is best way of creating gap between menu item?

Hope to hear you soon.

Aamir

Paul
Telerik team
 answered on 05 Aug 2008
3 answers
349 views
I'm trying to right a simple client side check to make sure that atleast one file is uploaded.

But I've come across 2 problems
First:
var fileInputs = GetRadUpload('<%= RadUpload1.ClientID %>'); 


which is used in many examples doesn't seem to work.  I've over come this by using:
var radUpload = $find("<%= RadUpload1.ClientID %>"); 

But was wondering why GetRadUpload wouldn't be working.


Second:
Once I've found the control with $find, its giving me the error:
"Object doesn't support this property or method", in reference too: GetFileInputs()


here is my script:

function checkUploadFileInput2()     
{     
    var radUpload = $find("<%= RadUpload1.ClientID %>");  
    var fileInputs =  radUpload.GetFileInputs();     
    alert(fileInputs[0].value);  
}   


Thanks in advance for any help you can give.
Tony
Top achievements
Rank 1
 answered on 05 Aug 2008
3 answers
153 views
Hi,

I have a Radgrid that has a Radtooltip defined inside of it. The rows from this radgrid can be dragged and dropped to another grid.The second radgrid is just a regular Radgrid. When I drag one item from the first grid to the second, everything is fine, when subsiquent rows are dropped I get the following javascript error :
"Two components with the same id 'Name of control, something RadTooltip' cannot be added to the same application" 

After debugging the script foillowing is the dynamic javascript function and the line that it breaks on: 

throw Error.invalidOperation(String.format(Sys.Res.appDuplicateComponent, id));

function Sys$_Application$addComponent(component) {  
        /// <summary locid="M:J#Sys._Application.addComponent" /> 
        /// <param name="component" type="Sys.Component"></param> 
        var e = Function._validateParams(arguments, [  
            {name: "component", type: Sys.Component}  
        ]);  
        if (e) throw e;  
        var id = component.get_id();  
        if (!id) throw Error.invalidOperation(Sys.Res.cantAddWithoutId);  
        if (typeof(this._components[id]) !== 'undefined') throw Error.invalidOperation(String.format(Sys.Res.appDuplicateComponent, id));  
        this._components[id] = component;  
    } 

Following is the markup for the RadGrid with the tooltip inside it.:

 <telerik:RadGrid runat="server" AllowPaging="True" ID="RadGridReports" Height="320px" PagerStyle-Mode="Slider" 
                 Width="375px" GridLines="None" AutoGenerateColumns="false" ClientSettings-ClientEvents-OnRowDropping="onGridReportsRowDropping"   
                 ClientSettings-EnablePostBackOnRowClick="true" ClientSettings-ClientEvents-OnRowDragStarted="onGridReportsNodeDragging">  
                   
                 <MasterTableView> 
                        <columns>                                                                          
                        <telerik:GridBoundColumn DataField="TemplateID"  HeaderText="TemplateID"   
                            SortExpression="TemplateID" Visible="false" UniqueName="TemplateID" /> 
                        <telerik:GridBoundColumn DataField="TemplateName" HeaderText="Saved Templates"   
                            SortExpression="TemplateName" Visible="true" UniqueName="TemplateName" /> 
                          
                          
                        <telerik:GridBoundColumn DataField="GMaxDate" HeaderText="EndDate"   
                            SortExpression="GMaxDate" Visible="true" UniqueName="GMaxDate" /> 
                   
 
                        <telerik:GridTemplateColumn HeaderText="Details" SortExpression="ViewDetails" UniqueName="ViewDetails">     
                            <ItemTemplate>    
                        <asp:Label ID="lbl" runat="server" Text="Details"></asp:Label> 
 
                         <telerik:RadToolTip ID="RadToolTip1" runat="server" TargetControlID="lbl" RelativeTo="Element" Skin="Default" 
                            Position="BottomLeft" Animation="None" AutoCloseDelay="30000" > 
                          <table border="0">  
                          <tr> 
                          <td style="background-color:GrayText">  
                          <h4><b><%#DataBinder.Eval(Container, "DataItem.TemplateName")%></b></h4> 
                          </td> 
                          </tr> 
                          <tr> 
                          <td> 
                          <b><u>Manager Account(s):</u></b>  
                          </td> 
                          </tr> 
                          <tr> 
                          <td> 
                          <b> <%#DataBinder.Eval(Container, "DataItem.AccountName")%> </b> &nbsp;&nbsp; <b><%#DataBinder.Eval(Container, "DataItem.MinAcctDate")%></b> to: <b><%#DataBinder.Eval(Container, "DataItem.MaxAcctDate")%></b>  
                            
                          </td> 
                          </tr> 
                          <tr> 
                          <td> 
                          <u>Benchmark Account:</u> 
                          </td> 
                          </tr> 
                          <tr> 
                          <td> 
                          <b><%#DataBinder.Eval(Container, "DataItem.BenchmarkName")%></b>   &nbsp;&nbsp; <b> <%#DataBinder.Eval(Container, "DataItem.MinBenchDate")%></b> to: <b><%#DataBinder.Eval(Container, "DataItem.MaxBenchDate")%></b>  
                          </td> 
                          </tr> 
                          <tr> 
                          <td style="background-color:Lime">  
                          <h4><b>Report can be run through: <%#DataBinder.Eval(Container, "DataItem.GMaxDate")%></b></h4>   
                          </td> 
                          </tr> 
                          </table> 
                             
                        </telerik:RadToolTip> 
 
                            </ItemTemplate>    
                        </telerik:GridTemplateColumn> 
 
                        </columns>                      
                            <RowIndicatorColumn Visible="False">  
                                <HeaderStyle Width="20px" /> 
                            </RowIndicatorColumn> 
                            <ExpandCollapseColumn Resizable="False" Visible="False">  
                                <HeaderStyle Width="20px" /> 
                            </ExpandCollapseColumn> 
                            <EditFormSettings> 
                                <PopUpSettings ScrollBars="None" /> 
                            </EditFormSettings> 
                        </MasterTableView> 
                <ClientSettings AllowRowsDragDrop="True">  
                    <Selecting AllowRowSelect="True" EnableDragToSelectRows="True"/>                      
                </ClientSettings> 
                  
            </telerik:RadGrid>            
 

any help would be appreciated.

Thank you.
Sebastian
Telerik team
 answered on 05 Aug 2008
1 answer
102 views
Hi,

I am binding the RadTreeView control to a datasource from Code behind file. But I am not able to set the "CheckChildNodes" property to "true" either from code behind or at design time from ASPX page.  If I set this property in code-behind, the error that I get is as follows:

'Telerik.Web.UI.RadTreeView' does not contain a definition for 'CheckChildNodes' and no extension method 'CheckChildNodes' accepting a first argument of type 'Telerik.Web.UI.RadTreeView' could be found (are you missing a using directive or an assembly reference?)
 
Please do help with appropritae solution.

Thanks,
Jinal Desai.

Atanas Korchev
Telerik team
 answered on 05 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?