Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
108 views
Hi there, i've noticed that the RadEditor's default skin (for MOSS 2007) is displaying approximately 1cm of blank space beneath the bottom row of buttons.

The text in the CSS Styles, Font Size drop-downs are also appearing approx 0.5cm lower than it should.

Any ideas?
George
Telerik team
 answered on 11 Sep 2008
1 answer
189 views
Hello,

We are experiencing two problems with the Rad Window and Internet Explorer.

We have a modal form that comes up onclick (screenshot). The first problem here is that the modal background is not transparent. It comes up as a solid gray box. We have not done any custom css on this. All we did was implement the stock Rad Window.

Then, when it is closed, the modal background does not go away (screenshot). However, when you resize the page or change the zoom level, the modal window disapears.

Any thoughts on how best to handle this?

Thank you,
Oleg Fridman
Georgi Tunev
Telerik team
 answered on 11 Sep 2008
1 answer
134 views
Hello,

I have a TreeView, wich loads node on demand server side from my database

The treeview is sourrounded by a RadAjaxPanel to avoid visible postbacks

I have added a ContextMenu wich works perfectly

I whould like to add a function to the context menu

When i click that menu voice, i whould like to force the node to collapse, and expand to reload his childs, like when i clicked it for the first time, or at least to collapse it, clear his old nodes and let te user to click again

Actually i am using this function

function ContextMenuClick(sender, args) {  
                    var menuItem = args.get_menuItem();  
                    var treeNode = args.get_node();  
                    var tree = $find("<%= TreePagine.ClientID %>");  
             
                    if (menuItem.get_text() == "Update") {  
                        treeNode.collapse();  
                        tree.trackChanges();  
                        treeNode.get_nodes().clear();  
                        tree.commitChanges();  
                        treeNode.expand();  
                    }  
 
                } 

But the expand() does not cause the load on demand of the childs, and also clicking the node does not cause the load on demand

There is a way to solve this?

Thanks
Veselin Vasilev
Telerik team
 answered on 11 Sep 2008
3 answers
113 views
I've read a few posts from people asking a similar question but I didn't come across a clear answer.   We are using the latest version (2008.2.723.35) and need to know the best way to get access to the OnResponseEnd inside of a usercontrol.  I realize that we can access the RadAjaxManager on the parent page. The problem with this is that that now means that my control is not fully self contained.  I need access to these events inside of the control or I need to understand what Telerik recommends here.  

Just so you know, here is what I am trying to do... Perhaps there is a better way than what I am doing. 

I have a user control that contains a button and a grid.  when the button is pressed I want to make an ajax call so I can retrieve some values from the grid (server side), do some DB updates, update a field on the page, and then (after the ajax call is complete) finally do some more javascript.   It seems like I need to tap into the OnResponseEnd in order to make sure the Ajax call is complete (and the field/variabile is updated) before I continue.

How best to approach this?

Thanks,
Iana Tsolova
Telerik team
 answered on 11 Sep 2008
2 answers
94 views
Hi,

I have a grid, and I have been struggling with required field validators now like almost forever.  So I took out the required field validators and replaced them with Label controls.

If the grid is in edit mode and the Update button is clicked I do a check to see if the textbox is empty, if so, then I set the Label control's text to "Required".  I did a debug on this and it seems to go through 100%, but I can't seem to keep the grid in edit mode.  How do I do this?

Thanks
Brendan
Princy
Top achievements
Rank 2
 answered on 11 Sep 2008
3 answers
248 views
I'm trying to export the grid from the client side.  I'm having trouble getting a reference to the RadGridTable.

See below:

Client-side RadGridTable object methods

ExportToWord()

ExportToExcel()

The documentation states that this object will not show up on the client Html unless certain features are used.  I'm using several of the features.

I'm wondering if there's a tag I need to add to may aspx file inside the grid tag.

Also, I found this in the posts, but the function get_masterTableView is missing:
function ExportGrid() 
   var masterTable = $find("<%=RadGrid1.ClientID %>").get_masterTableView(); 
   masterTable.exportToExcel(); 
 



Any ideas?

Thanks,
Tom
Iana Tsolova
Telerik team
 answered on 11 Sep 2008
4 answers
163 views
Dear All,

I am binding the grid dynamically on runtime but when I perform the paging or sorting the data has been gone any one help me in order to rectify the same?
Jebamalai
Top achievements
Rank 1
 answered on 11 Sep 2008
7 answers
189 views
I want to be able to change the value of the DateInput after the date has been selected. So my idea was to set the value of the DateInput when the client side OnDateSelected Event is firing.

<

rad:RadDatePicker ID="rdpDateSelector" runat="server" Skin="WebBlue" ClientEvents-OnDateSelected="rdpDateSelector_DateSelected">

</rad:RadDatePicker>


function

rdpDateSelector_DateSelected(sender, eventArgs)

{

jsDate = eventArgs._newValue;

$get(

"rdpDateSelector_dateInput_text").value = jsDate + " " + getSelectedTime();

}

Unfortunately it is not working due to the fact that AFTER the OnDateSelected Event is finished a handler is overwriting the DateInput Value with the following function: 

this.set_textBoxValue(this.get_editValue())

I found this piece of code while debugging the javascript code. How can I prevent that the DateInput textbox is overwritten by the Selected Date?

The reason why I am not using a DateTime Picker is that the selected Date and Time are both from different sources. The time frame (usually a block of 4 hours) is selected via a the telerik slider, and the date is selected via the datepicker. So when I am changing the value via the silder the DateInput is updated with a custom value (i. e. 10.09.2008 11:45 - 15:40). When someone is selecting a date only the date part should change and the time should stay as it is.

Missing User
 answered on 11 Sep 2008
1 answer
57 views
Using: ASP.NET AJAX Q1 2008

Hi,

I'm using ASP.NET AJAX Q1 2008 but I believe it'll occur in the Q2 version too because I didn't see any updates on this bug. I've installed Q2 but currently have issues getting my app. to run so I couldn't confirm.

This happens in FireFox only.

(1) Pass content to editor (radEditor.Content):
<html><body><embed src="a.swf"><img src="b.jpg"></body></html


(2) Page loads in Firefox

(3) On postback, retrieve content from radEditor.Content. I get this.
<html><body><embed src="a.swf"></embed><img flashsrc="b.jpg" src="/WebResource.axd?d=pVQBJh1WX8qR00T2i6C6sCxXxB1jxPudeEJU50CSKIIbFrwfAUq0Z1GQcziJeb2Su8vgqD6YhwmeWuBW434DJJztUwwhf1L-OPrXXnhjJxE1&amp;t=633517962431730000" /></body></html> 
 

Would appreciate if telerik could shed some light into this bug. I've pared down the html as much as I can. In my real file, I have the <object> tag etc. but I think those aren't consequential and  cloud the situation.

Thanks.

gavin

Rumen
Telerik team
 answered on 11 Sep 2008
2 answers
472 views
hi Telerik

Can you please tell if we can open .ascx control in rad window. As though i am able to open aspx pages in rad window when i tried the same code to open .ascx control in rad window i get the error as: 

The request filtering module is configured to deny the file extension.

In the code behind i am doing the following way:

protected void RadGrid1_ItemCommand(object source, GridCommandEventArgs e)

{

if (e.CommandName == "AddNewSignpost")

{

if ("Criteria".Equals(e.Item.OwnerTableView.Name))

{

GridDataItem current = e.Item as GridDataItem;

if (current is GridDataItem)

{

string ID = current["Criteria Id"].Text;

string arg1 = "CriteriaId=" + ID;

string arg2 = "&AwardId=" + ParentPage.iaward_id;;

string arg3 = "&CTitle=" + current["Title"].Text;

Telerik.Web.UI.

RadWindow newwindow = new Telerik.Web.UI.RadWindow();

newwindow.ID =

"SearchWnd";

newwindow.VisibleOnPageLoad =

true;

newwindow.Modal =

true;

newwindow.Width = 100;

newwindow.Height = 100;

newwindow.Title =

"Add Criterias to Signpost";

newwindow.NavigateUrl =

"~/custom/cmatters/learningportal/awards/controls/Signpostdetail.ascx?" + arg1 + arg2 + arg3;

RadWindowManager1.Windows.Add(newwindow);

}

}
}
And in the aspx page i have added the rad window manager:

<

Telerik:RadWindowManager VisibleOnPageLoad="true" DestroyOnClose="true" Modal ="true" ID="RadWindowManager1" runat="server" /> 

I am using ASP.net 2.0 and telerik version as RadControls for ASPNET AJAX Q1 2008 with IE7. Also the programming language i intend to use is c#

kindly help me and let me know the feasible solution as its critical.


Best Regards
Ash

Ash
Top achievements
Rank 1
 answered on 11 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?