Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
115 views
How to identity gird cancel button click . In javascript .

I want to identitfy the cancel button is click on client side.

Shinu
Top achievements
Rank 2
 answered on 06 Jan 2011
2 answers
80 views

I have a numeric column in a grid that receives numbers from a datatable. The cell is conditionally formatted during OnItemDataBound to change color depending on the how larger the number in the cell is.

I would like to format the number in the column regardless of how larger it is so that it displays , thousands separator. However, when I use a DataFormatString (either in code or via a PreRender method) an exception is thrown because the number no long matches (1000 vs 1,000).

 

How can I properly format the data in the column while allowing it to be conditionally formated?

Radoslav
Telerik team
 answered on 06 Jan 2011
7 answers
147 views
I have created a WCF SQL provider however i can't find any examples of the code for: CreateRecurrenceException and RemoveRecurrenceExceptions.

Do you any examples detailing these methods? 

Thanks
Peter
Telerik team
 answered on 06 Jan 2011
1 answer
143 views
Hi,

I have a radscheduler which shows the occupation of meeting rooms. When an event is a "all day event" it is displayed (in the dayview) at the top of the meeting room (resource) with the note "all day". 

Is there a way to display these "all day events" really as an all day occupation? It would be more clear to our users that the meeting rooms is not available during that day?

Thank you in advance
Peter
Telerik team
 answered on 06 Jan 2011
2 answers
152 views
I have a need to set the value of the DateTimePicker control via javascript.
After a bit of research I came up with this:

function setDate() {
    var picker = $find('<%= dtStart.ClientID %>');
    var picker2 = $find('<%= dtEnd.ClientID %>');
    picker2.set_selectedDate = picker.get_selectedDate;
}

But this does not work. I think I need some help, could someoen point me in the right direction please?
Jaymie
Top achievements
Rank 1
 answered on 06 Jan 2011
3 answers
187 views
i have created dockable DIV inside raddock with controls inside DIV, after doing that i have noticed the extra space in radContent, i tried applying css but not got the result as i expected, for your reference i am attaching the output modified image.

my problem is i want radDock to fit the width with the DIV no extra space required outside the div.
check the image[i have specified background for content to silver color] its appearing right side and bottom side of the DIV
CSS applied for DOCK.
.profileBlue
        {
            width: 126px;
        }
        .profileBlue .top
        {
            width: 126px;
            height: 8px;
            background: url(/images/profileBlueTop.jpg) no-repeat top left;
        }
        .profileBlue .middle
        {
            width: 106px;
            background-color: #cde6ec;
            height: auto;
            padding: 0 10px 0 10px;
            word-wrap: break-word;
            color: #323232;
            line-height: 20px;
        }
.RadDock .rdLeft, .RadDock .rdRight, .RadDock .rdBottom, .RadDock .rdTop
        {
            display: none !important;
        }
        .RadDock .rdContent
        {
            background-color: Silver;
        }
        .RadDockZone
        {
            width: 140px;
        }
    </style>
 
    <script type="text/javascript">
        function SetHandleDock(dock, args) {
            dock.set_handle(document.getElementById("Handle_" + dock.get_id()));
        }
    </script>

aspx code
<telerik:RadDockZone ID="RadDockZone1" runat="server">
      <telerik:RadDock ID="RadDock1" runat="server" DockHandle="None" OnClientInitialize="SetHandleDock" Index="0" EnableRoundedCorners="True" DockMode="Docked"> <ContentTemplate>
 <div class="profileBlue">
    <div id="Handle_RadDock1" style="cursor: move;" class="top">
    </div>
    <div class="middle">
      - - - - - - - my code ---
    </div>
 </div>
</ContentTemplate>
</telerik:RadDock>
Dobromir
Telerik team
 answered on 06 Jan 2011
1 answer
203 views

Dear Sir,

We brought "Telerik Premium Collection for .NET" and for one of our Web Project we have used
"RadEditor for ASP.NET AJAX" and "RadUpload for ASP.NET AJAX", and we want to give source
code of our web Project to our customer

1. Can we give the source code of our web project with the Telerik DLL's (as we have used
"RadEditor for ASP.NET AJAX" and "RadUpload for ASP.NET AJAX" ) in that project.

2. If not what the minimum components we can buy to embedded in to that project.

Thanks,
Regards,

Sebastian
Telerik team
 answered on 06 Jan 2011
1 answer
107 views
Hi,
I have an radcombobox  in my aspx page or also have radcaptcha.
After select the combobox item the image of rad captcha refresing.
There is any solution of the problem so that radcaptcha image remain intact afetr select the item from combo box.
plz help me asps.
Thanks
Lini
Telerik team
 answered on 06 Jan 2011
3 answers
227 views
Hello,

I have a problem.
I recieve the following error message (View the attached screen shot):

Error: Sys.WebForms.PageRequestManagerServerErrorException: Script control '' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl

I tried the following script manager in my page:

1)
<

 

 

asp:ScriptManager runat="server" ID="ScriptManager1">

 

 

 

 

</asp:ScriptManager>

 

2)

<

 

 

telerik:RadScriptManager runat="server" ID="RadScriptManager1">

 

 

 

 

</telerik:RadScriptManager>

 

But the result is the same (the above error)

Can you please explain to me what is the meaning of the above error message.
It is apprecited if you give me the required code which fix the above error.

Regards,
Bader
Lini
Telerik team
 answered on 06 Jan 2011
8 answers
301 views
I was looking at the ClientSide API function "insertAppointment" and had some questions.  I dropped it into a test app and am trying to manually insert an appointment "on the fly" using only JavaScript.  There are no errors being thrown but the appointment doesn't show up on the Scheduler.  Here is the function, just wondering if I'm missing something:

function AddAppointment() {  
            var scheduler = document.getElementById('RadScheduler1');  
 
            var newAppt = new Telerik.Web.UI.SchedulerAppointment();  
            var start = new Date();  
            var end = new Date();  
            start.setFullYear(2008, 11, 4);  
            start.setHours(10, 30, 0, 0);  
            end.setFullYear(2008, 11, 4);  
            end.setHours(11, 0, 0, 0);  
 
            newAppt.set_start(start);  
            newAppt.set_end(end);  
            newAppt.set_subject("Testing Appointment");  
 
            scheduler.insertAppointment(newAppt);  
        } 


Jose Granja
Top achievements
Rank 1
 answered on 06 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?