Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
168 views
Hi,

is there any event that fires after an Appointment is beeing updated using Web Service binding? I would like to catch the Appointment Object that is returned in the response and do something with it. I see there is a request success but that doesn't return the response from the updated appointment request. 

thank you

regards,

jose
Jose Granja
Top achievements
Rank 1
 answered on 10 Feb 2011
10 answers
355 views

Is there an example for the hierarchy grid  with user control edit form or Form template edit form?

Thanks in advance.
Shinu
Top achievements
Rank 2
 answered on 10 Feb 2011
1 answer
108 views
hello everyone :)

under which circumstances are the client-side js methods set_activeRow and clearActiveRow working ??

i tried to hook up to OnRowSelected and to OnActiveRowChanged but to no success :(
When i look up the grid's dom properties, always _activeRow is emtpy (even when more than row is active/selected) and calling set_activeRow won't change that.

<ClientEvents OnGridCreated="OnGridCreated" OnRowClick="OnGridRowClick"  OnRowSelected="EventTest" />

within the handler "EventTest":
sender.clearActiveRow();
var element = sender.MasterTableView.get_dataItems()[1].get_element();
sender.set_activeRow(element);
sender.repaint();

thanks for your help,
hendrik
 
Radoslav
Telerik team
 answered on 10 Feb 2011
1 answer
87 views
I have a 'common dialog' that I use in lots of places in my app.

Rather than define it lots of times I put it in a control and access it that way. Works a treat.

Now I need to call that common dialog from another RadWindow (we'll call it PopupPage). And I need PopupPage to execute it's own copy of a JS function when the common dialog closes.

Now, I've worked out how to do all of that.

But, the PopupPage and the common dialog have to be managed by the same RadWindowManager for it to work.

Why? Because I'm using the techniques in this documentation article to call a function in one RadWindow (common dialog) from another RadWindow (PopupPage). The problem is that my common dialog needs to find the PopupPage to execute a script on it and it does it using this code ...
var popupPage = oWnd.get_windowManager().getWindowByName(callerName);      
popuPage.get_contentFrame().contentWindow.ProcessClose(args);

Now my code actually passes the name of the calling window (PopupPage) to the commondialog (as callerName) when it opens it. So knowing the window isn't a problem. The problem is that I want my commondialog to exist in a .ascx page which means that it either is managed by a different RadWindowManager or with no manager at all.

Either way, calling .get_windoiwManager().getWindowByName() isn't going to get me the results I'm looking for.

So, how do I call a a function on a page in one RadWindow from a page in another RadWindow when the 2 RadWindows are managed using different RadWindowManagers?

-- 
Frustrated of Grantham
Stuart Hemming
Top achievements
Rank 2
 answered on 10 Feb 2011
4 answers
69 views
Hi.

I am using radcompression on a .net 2 app which is also compressing viewstate into a session.

I want to exclude a page from being compressed (specifially the viewstate as it is 300k - it's a very big and silly page with 100''s of controls on).

whatever i do i cannot achieve this - the page size does nto change.

after adding

<

 

telerik.web.ui>

 

<

 

radCompression>

 

<

 

excludeHandlers>

 

<

 

add handlerPath="rptcurrentactivity.aspx" matchExact="false"/>

 

</

 

excludeHandlers>

 

</

 

radCompression>

 

</

 

telerik.web.ui>

 



into the web.config for the site, the size does not increase as i would expect. if i remove teh appbrowser file to stop copression, the page size is inclreaed by about 300k as i expect. any ideas?
James
Top achievements
Rank 1
 answered on 10 Feb 2011
1 answer
78 views
Hi,

I just wanted to ask a question, when I use the combobox on demand and I select an item, all the other items disappears. I have to erase the searching textbox to retrieve all the items.

When the combox box on demand is not on autopostback mode, the items persists and the item selected is highlighted. Is it normal?

Thanks.

Yana
Telerik team
 answered on 10 Feb 2011
4 answers
137 views
Hi all,
we are using the new RadControl Ajax Q3 2010 SP2 and found a weird issue.
These are the steps to reproduce it:

- open up the "RadControls for ASP.NET AJAX Q3 2010 SP2 Live Examples" and choose the demo called Editor/First Look
- copy some formatted text from Word: choose a mix of left/center/right aligned sentences for your convenience. I've used the text in the attached "PasteFromWordText" image
- paste to the Editor: choosing "no" (or "Cancel") to the request to clean the formatting: the text appears the same as it appears in Word: good
- click the "HTML" button to view the html code
- click the "Design" button to go back to the text: the formatting is lost and all paragraphs are now left-aligned (see attached "pasteFromWordAfterPostback image)

In our application we don't use the "HTML" mode but the same thing happens when we post the page back (for instance to save the text to our database): I can reassure that the Content property is not manipulated by our code and after the page is refreshed, the formatting is lost.

I've already set some properties in the Editor like ContentFilters="none" and StripFormattingOptions="none" but no luck.
Any ideas?

Thanks
Mauro

Michael
Top achievements
Rank 1
 answered on 10 Feb 2011
2 answers
61 views
Hello,

I have a RadDock control wrapped in a usercontrol, Dashboard1.

Dashboard1 is on a page with a DetailsView that allows a user to setup information about their dashboard, such as Name and Description.

The requirement is that the 'dashboard' is hidden until the user clicks the 'Edit' button on the DetailsView. ( this.Dashboard1.Visible = this.dvDashboard.CurrentMode == DetailsViewMode.Edit;)

However, when the edit button is clicked and the dashboard is set to visible, in FireFox the Title is not shown.

The HTML output looks as follows:
<div class="rdTitleBar rdDraggable" id="ctl00_ContentPlaceHolder1_Dashboard1_RadDock86824b65a96a5a46c1aa890a1f01e87b0292_T" style="cursor: move;">
                        <em style="width: 0px;">Weather</em>

It's the width:0px that FireFox dislikes. I was wondering what circumstances would cause this with to be 0 (until the dock is moved and the title then appears).

Mhairi
Top achievements
Rank 1
 answered on 10 Feb 2011
3 answers
140 views
Hi All,
I am using Telerik Rad Calender

1) I have to show two buttons in each calender cell.
2) I have to capture the additional two butttons click event.
how can i do this.

Pls help me
Radoslav
Telerik team
 answered on 10 Feb 2011
2 answers
139 views
hi together,

i have a grid on my page which uses multi row selection (with help of a GridClientSelectColumn) and highlighting.
the options for AllowMultiRowSelection and AllowRowSelect are set to "true", UseClientSelectColumnOnly is set to "false".

everything works as supposed except for one thing: everytime i click on one of the checkboxes, the complete row becomes highlighted. i'd like to have the highlight feature exclusively by clicking in the row, not on the checkboxes.

is there a built-in way to highlight only the last selected row and do multi row selection with the checkboxes without highlighting?? i think it's the same way the radtreeview works...
if that's not the case, which event do i hang on to cancel the checkbox highlighting on my own ?

thanks for your help :) regards
hendrik
Hendrik
Top achievements
Rank 1
 answered on 10 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?