Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
949 views
when i use a button click event to display content of tab 2 i must do 

RadPage_Store.Selected = True for tab 2 content to display otherwise it woudln't display anything beside that tab2 is selected. so i was wondering what is the javascript code that equivalent to  RadPage_Store.Selected = True thank you, and why do i have to set 

 

RadPage_Store.Selected = True inorder to have the content show up. thanks.

Paul
Telerik team
 answered on 16 Jul 2009
2 answers
113 views
The radUpload textbox is acting weird. I tried the telerik demos and they work the same way. IE8 + 7.Problems.

1) you browse for a file with a long path. say c:\123434564576\MyFile.txt.

All that shows is [c:\123434564576]. If you put the caret in the textbox and hit the right arrow key you can't see the end of the file, in this case myfile.txt.

2) when you highlight text with the mouse it doesn't show the blue highlited color, its invisible, even though its highlighted.

3) pasting into the textbox causes errors, the file doesn't upload right.

4) after browse, path is replaced with "fakepath"

Thanks!
Paul
Telerik team
 answered on 16 Jul 2009
2 answers
162 views
Hello;

I want a dropdownlist like this

<asp:DropDownList ID="den" runat="server" >
        <asp:ListItem>a</asp:ListItem>
        <asp:ListItem>b</asp:ListItem>
        <asp:ListItem>c</asp:ListItem>
        <asp:ListItem>d</asp:ListItem>
</asp:DropDownList>
       
However I want to use GridDropDownColumn and I don't want to use datasource for this. What and how can I do ?
burak
Top achievements
Rank 1
 answered on 16 Jul 2009
5 answers
278 views
Hi -

We decided to use telerik controls on our website, therefore initially we are testing how far we go to change look and feel of controls so they match and fit to our needs graphically.
I am using RadSplitter, and please find below codes :-
<telerik:RadSplitter ID="RadSplitter1" runat="server" Width="950" Height="500" Skin="Forest">
           <telerik:RadPane ID="LeftPane" runat="server" Width="22px" Scrolling="none">
                <telerik:RadSlidingZone ID="SlidingZone1" runat="server" Width="22px">
                    <telerik:RadSlidingPane ID="RadSlidingPane1" Title="All Dashboard Reports" runat="server"
                    Width="150px" >
                        <telerik:RadTreeView ID="RadTreeView1" runat="server" OnClientMouseOver= "OnClientMouseOver"
                        EnableDragAndDrop="True" OnClientNodeDropping="OnClientNodeDropping">
                    </telerik:RadTreeView>
                    </telerik:RadSlidingPane>
                </telerik:RadSlidingZone>
            </telerik:RadPane>
            <telerik:RadSplitBar ID="Radsplitbar1" runat="server"></telerik:RadSplitBar>
            <telerik:RadPane ID="MiddlePane1" runat="server" Scrolling="None">
                <telerik:RadSplitter ID="Radsplitter2" runat="server" Orientation="Horizontal" VisibleDuringInit="false">
                    <telerik:RadSplitBar ID="Radsplitbar3" runat="server"></telerik:RadSplitBar>
                    <telerik:RadPane ID="Radpane2" runat="server">
                        <div id="SummaryDiv2" style="width:925px;height:480px;"></div>
                        
                        <telerik:RadWindowManager ID="RadWindowManager1" runat="server" VisibleOnPageLoad="false"
                            VisibleTitlebar="true" VisibleStatusbar="false"
                            ReloadOnShow ="true" ShowContentDuringLoad="true" RestrictionZoneID="SummaryDiv2"
                            Overlay="true" Animation="Fade"
                            MinimizeZoneID="MyMinWins" OnClientCommand="oCCWindow">
                        </telerik:RadWindowManager>
                        
                        <telerik:RadToolTipManager Width="300px" Height="300px" RelativeTo="element"
                            ID="RadToolTipManager1" runat = "server" OffsetX="15" Skin="Telerik" Position="MiddleRight"
                            OnAjaxUpdate="RadToolTipmanager1_AjaxUpdate" >
                        </telerik:RadToolTipManager>
                
                    </telerik:RadPane>
                </telerik:RadSplitter>
            </telerik:RadPane>
            <telerik:RadSplitBar ID="RadSplitBar2" runat="server"></telerik:RadSplitBar>
            <telerik:RadPane ID="EndPane" runat="server" Width="22px" Scrolling="None">
                <telerik:RadSlidingZone ID="Radslidingzone1" runat="server" Width="22px" SlideDirection="Left">
                    <telerik:RadSlidingPane ID="Radslidingpane5" Title="Company Dashboards" runat="server" Width="150px">
                        <telerik:RadTreeView id="CompTree" runat="server">
                    </telerik:RadTreeView>
                    </telerik:RadSlidingPane>
                    <telerik:RadSlidingPane ID="Radslidingpane6" Title="Personal Dashboards" runat="server" Width="150px">
                       <telerik:RadTreeView ID="DBDTree" runat="server" OnNodeClick="DBDTree_NodeClick">
                        </telerik:RadTreeView>
                    </telerik:RadSlidingPane>
                </telerik:RadSlidingZone>
            </telerik:RadPane>
        </telerik:RadSplitter>

Now you can see that I am having one pane in left and 2 panes in right, what I want to have different colors to each panes, is it possible to have?

Please suggest me a way!

Thanks in advance
Regards
Arindam R
Svetlina Anati
Telerik team
 answered on 16 Jul 2009
1 answer
89 views
Hello all,

I just want to request a small change in the Office2007 skin for RadTabStrip:
Adding an hover style to the tabs, as there is in Word2007.
I've noticed that on the RadMenu control there is similar hover-style, so I hope it's not much work...

Thanks
Alex Gyoshev
Telerik team
 answered on 16 Jul 2009
4 answers
285 views
Can I know when was the latest version of RadTreeView posted?CssClass is being applied but where as SelectedCssClass and HoveredCssClass is not being applied even though .rtln is given beside the class specified in the stylesheet.

Can anyone help?
Veselin Vasilev
Telerik team
 answered on 16 Jul 2009
3 answers
159 views
I implemented this Month Year picker and it works great.  Does exactly what I need.

However, the problem I am running into is this, when a postback occurs, the month/year functionality is lost and the raddatepicker returns to the default settings.  Does anyone know how to keep those settings after a postback or how to call the function 

SetCalendarTable() each time a postback occurs.  I tried numerous ways to call that function with no success.

I have two of these calendars in a panel that is ajaxified.  Don't know if that makes any difference.

Thanks,
Zach

Martin
Telerik team
 answered on 16 Jul 2009
1 answer
111 views
Hi
 i already submitted many request for this ajax method is not working,
breakpoint is not going into the method which is given below

protected

 

void RadAjaxManager1_AjaxRequest(object sender, AjaxRequestEventArgs e)

 

{

 

// RadScheduler1.ShowInlineInsertForm(ParseJavaScriptTime(e.Argument).AddHours(8));

 

RadScheduler1.SelectedView =

SchedulerViewType.DayView;

 

RadScheduler1.SelectedDate = ParseJavaScriptTime(e.Argument);

}

 

private DateTime ParseJavaScriptTime(string jsTime)

 

{

 

DateTime result = DateTime.ParseExact(jsTime, "yyyyMMddHHmm", null, DateTimeStyles.AssumeUniversal);

 

 

return result.ToUniversalTime();

 

}


inistialized

 

this.RadAjaxManager1.AjaxRequest += new RadAjaxManager.AjaxRequestDelegate(RadAjaxManager1_AjaxRequest);

 

 

this.RadAjaxManager1.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(RadAjaxManager1_AjaxRequest);

 


i tested both initialized but not working

regards

imtiyaz
 
Veselin Vasilev
Telerik team
 answered on 16 Jul 2009
3 answers
204 views
I read in the documentation that "Every collapse of a node causes a postback if the ExpandMode is set to ServerSide." Is there a way of canceling the postback? I tried this javascript function but it doesn't work.

(I set the ExpandMode on the c# code behind that isn't shown here)

  function ClientNodeCollapsed(sender, eventArgs) {
       var node = eventArgs.get_node();
       
       if (node)
       {
            node.collapse();
       }
    return false;
   }
  
.aspx side:

                <telerik:RadTreeView id="TreeVw" runat="server" OnClientNodeClicked="ClientNodeClicked" OnClientNodeCollapsed="return ClientNodeCollapsed(sender, eventArgs)"

This results in a javascript error. Can anyone help?
Veselin Vasilev
Telerik team
 answered on 16 Jul 2009
1 answer
122 views
Hi All,

I having some issues while updating Appointments using ObjectDataSource on Rad Scheduler.

Due to some reason, the appointment start,end time or resource details are not changed on the Scheduler, even though the underlaying database has been updated. Forexample If i move an appointment from one resouce to another, the resource details does not change. Only after I refresh the page, the page displays the accurate details.
I also tried rebinding the Scheduler after calling ObjectDataSource.Update() function under the Scheduler Appointment Update event, so that the system can retrieve the latest data from the database, but nothing happens.

Does anyone know what is causing this problem.

Here is my Appointment_Update event

 protected void rsSchedule_AppointmentUpdate(object sender, AppointmentUpdateEventArgs e)
        {
          
            // My Custom DTO
            Activity activity = new Activity();
            activity.Id = e.ModifiedAppointment.ID.ToString()
            double duration = e.ModifiedAppointment.Duration.Hours;
            duration = duration + Convert.ToDouble(e.ModifiedAppointment.Duration.Minutes)/60;
            activity.Duration = duration;
            activity.StartDateTime = e.ModifiedAppointment.Start;
            activity.TechId = e.ModifiedAppointment.Resources[0].Key.ToString();

           odsSchedule.UpdateParameters.Clear();
           odsSchedule.UpdateParameters.Add(new Parameter("jobId", TypeCode.Int32, activity.Id));
           odsSchedule.UpdateParameters.Add(new Parameter("duration", TypeCode.Double, activity.Duration.ToString()));
           odsSchedule.UpdateParameters.Add(new Parameter("newDateTime", TypeCode.DateTime, activity.StartDateTime.ToString()));
           odsSchedule.UpdateParameters.Add(new Parameter("techCode", TypeCode.String, activity.TechId));

           odsSchedule.Update();


         }
 
Thanks in advance,
Haroon
Peter
Telerik team
 answered on 16 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?