Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
268 views
Thanks. The example helps.
Marin Bratanov
Telerik team
 answered on 10 Oct 2011
1 answer
196 views
"The Telerik dialogs require a HttpHandler registration in the web.config file." 

I'm getting this error when I attempt to add a link to my content in the Sitecore Editor.  This started occuring after I upgraded my Sitecore CMS to Sitecore 6.4. 

The version of the Telerik.Web.UI.dll in my application bin folder is: "2010.2.826.35"

I am running the application in IIS 7.5 integrated managed pipeline mode. 

I have verified that the following handlers have been added to my application web.config file:

in the <system.webServer> section:

<handlers>
<add name="Telerik_Web_UI_DialogHandler.aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />     
<add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
<add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
</handlers>

In <system.web>
<httpHandlers>
<add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" />
<add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" />
<add verb="*" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
</httpHandlers>

But - I still get the error.  Does something else need to be configured?
Marian Pintilie
Top achievements
Rank 1
 answered on 10 Oct 2011
1 answer
175 views
Hi,
 For the DateTimePicker, I set the TimeView.StartTime and TimeView.EndTime in the code behind.
 When the Time selection is actually a time from yesterday, upon selection, today's date is put in the TextBox.

So if the time 23:30 is in the TimeView and 23:30 is actually 23:30 on 10/04 (and today is 10/05).
Upon selection it shows as 10/05/11 23:30 instead of 10/04/2011 23:30.
In debug mode, when i check the value of the StartTime and EndTime they are clearly separate days, but it doesn't carry over to the front-end functionality.

Does RadDateTimePicker support days that aren't today???


int
nStartMinute = now.Minute / 15 * 15;
 radFaultDateTime.TimeView.StartTime = new TimeSpan(now.Subtract(new TimeSpan(14, 0, 0)).DayOfYear, now.Subtract(new TimeSpan(14, 0, 0)).Hour, nStartMinute, 0);
 radFaultDateTime.TimeView.EndTime = new TimeSpan(now.Add(new TimeSpan(2, 0, 0)).DayOfYear, now.Add(new TimeSpan(2, 0, 0)).Hour, nStartMinute, 0);
                radFaultDateTime.TimeView.Interval = new TimeSpan(1, 0, 0);
                radFaultDateTime.ShowPopupOnFocus = true;

Thanks,
Vasil
Telerik team
 answered on 10 Oct 2011
7 answers
224 views
My problem is similar to those of others with a twist. I need to refresh the original grid (ASP) that called the radwindow.

I call the window somewhat differently.
 
protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
       {
           int index = Convert.ToInt32(e.CommandArgument);
           String value1 = GridView1.Rows[index].Cells[0].Text;
           String value2 = GridView1.Rows[index].Cells[21].Text;
           Stat.Text = GridView1.Rows[index].Cells[15].Text;
           JRID.Text = value1;
           if (e.CommandName == "Lead")
           {
               Emp.Text = GridView1.Rows[index].Cells[22].Text;
               //GridView4.DataBind();
               //SetFocus("Empview");
               Label4.Text = "~/EmpLog2d.aspx?rdate=" + DropDownList1.SelectedValue + "&emp=" + Emp.Text;
               this.RadWindow1.NavigateUrl = Label4.Text;
               RadWindow1.VisibleOnPageLoad = true; }               
 

The window is a information and verification page that runs several stored procedures then the user will close it.

But on close I need to run  Gridview1.DataBind();

and java is a foreign language to me.
Marin Bratanov
Telerik team
 answered on 10 Oct 2011
2 answers
116 views
hi

I tried this line,

System.Web.HttpContext.Current.Server.MapPath()

But it gives following error,

Object reference not set to an instance of an object.

Can u plz tell me how to solve this problem ?

Jayesh Goyani
Top achievements
Rank 2
 answered on 10 Oct 2011
1 answer
153 views
I'm trying to create a graphical sort tool using the Rad Dock functionality, users want to be able to view what they're trying to move around so the dock has an id and an image object in it. I have a base when I move one dock to the "sorted" area. I'm wondering if there is a way to move multiple docks over. I've leveraged  an example (http://www.telerik.com/community/forums/aspnet-ajax/docking/moving-multiple-windows-at-once.aspx), but unfortunately I get an error for the javascript call set_State(1). I can't find something comparable through the forums or in the examples. Is there still a way to multiple docks to another zone?
Slav
Telerik team
 answered on 10 Oct 2011
1 answer
87 views
Hello.

I'm using RadSlidingPane on the Radsplitter.
My problem is,
If RadSlidingPane's ID and title have same text (eg. ID="RadSlidingPane1" title="RadSlidingPane1"),
RadSlidingPane content was resized over the Width,  when I resized RadSlidingPane Width.

if ID and title have different value, it working good.
I'm attaching screenshot image, and source.
<%@ Page Language="VB" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="RadControlsWebApp1._Default" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
    <telerik:RadStyleSheetManager ID="RadStyleSheetManager1" runat="server" />
    <style type="text/css">
        body, form, html
        {
            font-size: 12px;
            font-family: Arial, Verdana, Tahoma, MS Sans Serif !important;
            margin: 0px;
            padding: 0px;
            height: 100%;
            overflow: hidden;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <%--Needed for JavaScript IntelliSense in VS2010--%>
            <%--For VS2008 replace RadScriptManager with ScriptManager--%>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <script type="text/javascript">
        //Put your JavaScript code here.
    </script>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    </telerik:RadAjaxManager>
    <div style="width:100%;height:100%;">
        <telerik:RadSplitter ID="Radsplitter1" runat="server" Width="100%" Height="100%"
            Orientation="Vertical">
            <telerik:RadPane ID="RadpaneContents" runat="server" Scrolling="None" BackColor="blue">
                <telerik:RadSlidingZone runat="server" ID="RadSlidingZone1" Width="22px">
                    <telerik:RadSlidingPane runat="server" ID="RadSlidingPane1" Width="250" MinWidth="125" BackColor="WhiteSmoke"
                        EnableResize="true" Title="RadSlidingPane1" Scrolling="None">
                            tab1<br />
                        <asp:TextBox ID="TextBox1" runat="server" Width="100%"></asp:TextBox>
                    </telerik:RadSlidingPane>
                </telerik:RadSlidingZone>
            </telerik:RadPane>
            <telerik:RadPane ID="RadpaneContents2" runat="server">
            </telerik:RadPane>
        </telerik:RadSplitter>
    </div>
    </form>
</body>
</html>
Dobromir
Telerik team
 answered on 10 Oct 2011
4 answers
546 views
I am using a radgrid with GridClientSelectColumn as one of the column.
i changed the item row color using

e.Item.BackColor ="Red" in itemdatabound event based on some condition


I selected that checkbox which row is already highlighted by this RED color ,  its overwriting my red color background.

I want to prevent this

i tried this .rgSelectedRow
        {
            background-color:Red;
            color: Red !important;
        } also
its making the font color for the row as RED but bg color is not still changing

shall i use

ClientEvents-OnRowSelecting events?

Pavlina
Telerik team
 answered on 10 Oct 2011
3 answers
173 views
Hello,

I have my Radgrid binded to a first SQLDataSource.
But, I need to have a column (i have created manually) from my RADGrid binded to another SQLDataSource(informations from another table)

Is this possible ?
Thank you in advance for your help!
Shinu
Top achievements
Rank 2
 answered on 10 Oct 2011
6 answers
240 views
I have a requirement to edit the parent row but child rows should not be editable. when a value in the parent cell updated, the same cell in all the child rows should be updated with the same value.
Please let me know how to make parent row editable but at the same time child rows should not be editable and how to udpate the values to child rows on modification of a parent row?
Tsvetina
Telerik team
 answered on 10 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?