Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
177 views
hii,
how  can i get the datakey value on client side on item click?
 thanks..
Shinu
Top achievements
Rank 2
 answered on 19 Oct 2012
3 answers
174 views
I have a rad button which implements the single click solutoin provided by Telerik to pervent multiple submissions.

My declaration is:

<telerik:RadButton ID="btnFind" runat="server" Text="Find Visits" style="margin:7px;" UseSubmitBehavior="false" OnClientClicked="FindClickedHandler_VFC">
                                <Icon PrimaryIconUrl="~/global/images/icons/search.png" />
                            </telerik:RadButton>


And I have a handler for the OnClientClicked Event:

function FindClickedHandler_VFC(sender, eventArgs) {
 
            var validated = Page_ClientValidate('val');
            if (!validated) {
                return;
            }
            else {
                sender.set_enabled(false);
                if (sender.get_text() == "Search") sender.set_text("Searching...");
            }
        }


When I click on the button, everything works as expected. However, in some instances, I would like to induce the button click and have it do exactly the same from some client-side code. When I call the button.click function client-side I have noticed that the cliked handler does fire, but the postback never occurs. I am guessing this has something to do with the removal of the postback behavior in the button which is necessary to prevent the double click. Is there a way to make the button do the same thing whether you click on it or call button.click client-side?

Slav
Telerik team
 answered on 19 Oct 2012
0 answers
82 views
Hi,

I have a telerik tabcontainer. in which i have a datagrid with "Edit" option. when i click on Edit option its going to display a popup with background opacity for tabcontainer. but what i want is to apply opacity for whole page by not selecting the top menu items which just above the tabcontainer.

Thanks in advance.
sanjeev.
Sanjeeva
Top achievements
Rank 1
 asked on 19 Oct 2012
3 answers
244 views
Is anyone else having a problem with Visual Studio 2012 failing when opening ANY project (new or existing) after installing the Q3 2012 Telerik Controls?

I'm trying to track it down, because I installed most of Telerik's Controls... Ajax, ORM, Winforms, Silverlight, MVC, Kendo, etc...

EDIT:  I've found the installers causing the problem.  Installing either the ASP.NET MVC or Kendo UI for ASP.NET MVC causes Visual Studio 2012 to fail.  If they are installed, any project or solution you open new or old, regardless of it's type (web, winforms, class library) you try to open causes Visual Studio 2012 to fail with the error below.

Telerik:  I'd like to get your input on this.  I've tested in on two different systems (both running Windows 7 and Visual Studio 2012 Premium), and the same thing occurs.

Falling back to all the versions I had before (which takes a REALLY long time to do), fixes the problem, but I haven't tracked down which installation is causing the issue... yet.

Opening up any project or solution, new or existing, I get this after Telerik Controls Installation...

Problem signature:

Problem Event Name: CLR20r3

Problem Signature 01: devenv.exe

Problem Signature 02: 11.0.50727.1

Problem Signature 03: 5011ecaa

Problem Signature 04: PresentationFramework

Problem Signature 05: 4.0.30319.17929

Problem Signature 06: 4ffa7956

Problem Signature 07: 959

Problem Signature 08: 165

Problem Signature 09: System.Exception

OS Version: 6.1.7601.2.1.0.256.4

Locale ID: 1033

Additional Information 1: 0a9e

Additional Information 2: 0a9e372d3b4ad19135b953a78882e789

Additional Information 3: 0a9e

Additional Information 4: 0a9e372d3b4ad19135b953a78882e789

Telerik, do you have any suggestions?

Community, have any of you run into this?

If I can track down exactly which installation is causing the problem, I'll update this thread.

Thanks, Greg

Stanley
Top achievements
Rank 1
 answered on 19 Oct 2012
3 answers
60 views
We have a reservation system that allows a user to insert an appointment with a maximum of 90 minute duration. They can schedule it for less time, and have the resizing capability to extend it to 90 minutes. I have the JS in place to restrict a user from extending the end time beyond the 90 minutes, but if they size from the start, there seems to be no way to effectively capture this and check the duration limit.

function warnIfTooLong(start, end, sender, args) {
    var appointment = args.get_appointment();
    var finalTime = new Date(start);
    var maxDuration = 90;
    finalTime.setMinutes(finalTime.getMinutes() + maxDuration);
    if (end > finalTime) {
        alert("You cannot reserve a court for that duration.");
        args.set_cancel(true);
    }
  
}  

This script works fine if you feed in the correct start and end times. However I have been unable to figure out how to get the new start time for a resized appointment, end time can be taken from args.get_newTime();

function onAppointmentResizeEnd(sender, args) {
 
    var start = args.get_appointment().get_start();
    var end = args.get_newTime();
 
    warnIfTooLong(start, end, sender, args);
}

Does anyone have any idea how I can get the start time correct from a resized appointment?

Many thanks
Clyde
Plamen
Telerik team
 answered on 19 Oct 2012
4 answers
94 views
Hi All

We are using the most recent release of the Telerik AJAX kit (2012.2.912.35).

All of our pages have a RadMenu contained on our master page.

Recently (before the upgrade to the new tool kit), we noticed that when the mouse hovers over the RadMenu and the drop down forms, for a brief moment a "Page cannot be displayed" message, then the menu loads into the frame. This is literally for a fraction of a second and is only noticeable if your looking.

This behaviour is not present if animations are turned off.

I've also noticed that when debugging, the solution explorer is showing a few strange entries;

Script Documents > 
Windows Internet Explorer
> (8 x) dnserrordiagoff.htm
welcome.aspx
>eval code
>anonymous code
> (8x) errorPageStrings.js
> (8x) httpErrorPagesScripts.js

I cannot work out what the problem is... something must be missing somewhere.

Any thoughts? 

Shane
Shane Clay
Top achievements
Rank 1
 answered on 19 Oct 2012
1 answer
79 views
Hi all,

Is there any property to deselect the selected rows after a button click ? Please share suggestions.

Thanks in advance,

Princy
Top achievements
Rank 2
 answered on 19 Oct 2012
0 answers
58 views
I am using exchange webservice to get my outlook calendar items to my application. But the issue with recurrence rule of RadScheduler property.

The RadScheduler accepts RFC2445 format for reurrence rule where as Exchange Webservice returning in different can i able to convert Exchange WebService appointment to iCalendar( RFC2445 ) using any telerik tools.

RFC2445 Format:

<![CDATA[ DTSTART:20131205T080000Z

DTEND:20131205T093000Z

RRULE:FREQ=DAILY;COUNT=5;INTERVAL=1;BYDAY=MO,TU,WE,TH,FR,SA,SU

  ]]>

Exchange web service Format:

  • Appointment.Recurrence.Pattern

<t:DailyRecurrence><t:Interval>1</t:Interval></t:DailyRecurrence>

  • exAppointment.Recurrence.Range

        <t:EndDateRecurrence><t:StartDate>2012-08-08</t:StartDate><t:EndDate>2012-08-09</t:EndDate></t:EndDateRecurrence>


Bhas
Top achievements
Rank 1
 asked on 19 Oct 2012
1 answer
110 views
Hi,

In my RadGrid, I have  a column named 'colorCode'. I need to change the background color of row depending on the value of 'colorCode' say true or false in database. How can I do that?

Shinu
Top achievements
Rank 2
 answered on 19 Oct 2012
1 answer
347 views
i have a RadTreeView, but i only want check boxes on child nodes, is there a way to disable them for the parent items?
Princy
Top achievements
Rank 2
 answered on 19 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?