Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
102 views
One question. I have a web app with the following behaviour.

In IE6 and IE7 the menu appears under radwindows. But the same code in IE8 the menu appears over radwindows.

I have the next z-index values:

Menu: 5001
Window:3000

I need the IE8 behaviour, but how can I do this in IE6 and IE7?

Any suggestion is welcomed.


Dave V
Top achievements
Rank 1
 answered on 11 Mar 2010
2 answers
212 views
I've got code based on the dynamic load of radpageviews with radtabstrip.  Based on one of 3 tabs clicked, I dynamically pull an ascx control into the pageview.  I am also storing the selected tab index in a session object.

What I'm trying to do is remember what tab the user is on so that when they return using a back button, I can keep the page where they were.

However it doesn't appear that page_load or any other code is firing on back button usage - just shows the last cached page.

I have tried using the following but it doesn't seem to help any:
            Response.CacheControl = "private";  
            Response.Expires = -1;  
            Response.AddHeader("pragma", "no-cache");  
 

Have it at the top of page_load before my base.page_load.

What's the correct approach here?

Thx,
Kevin
Kevin
Top achievements
Rank 2
 answered on 11 Mar 2010
3 answers
134 views
Does any one know if there is a way to hide or rename the paret (top most) node in the tree?  I created a custom provider so I can point my FileExplorer to a physical path but the parent node is always the name of the root folder.  I would like to name it but will settle for hiding it.

Thanks,
Dean
Jim
Top achievements
Rank 1
 answered on 11 Mar 2010
2 answers
181 views
This is probably very simple and I am probably missing just the correct line that will make this work. I have writen a javascript function that I want to use with multiple RadDateTimePickers. I want to pass in the name of the RadDateTimePicker, eval the name to find the control and then run the rest of the script. I get the error "expression expected" when I do this. Any ideas?

function SetDate(pid, val) {
    //the following statement fails with "expression expected"
    //it is a mirror of the statement below that works except for variable substitution
    var radCal= eval('$find("<%='+pid+'.ClientID%>")');

    //the following statement works and is what I want replaced with the statement above this comment
    //even though the eval() doesn't actually do anything, I just wanted to make sure it would work in an eval()
    var radCal= eval('$find("<%=RadDateTimePicker1.ClientID%>")');

    //value in val looks like: 03/10/2010
    val = FormatDate(val);
    var pd = new Date(val);
    radCal.set_selectedDate(pd);
}

<a href="javascript:SetDate('RadDateTimePicker1', lastWeek());">Last Week</a>

<telerik:RadDateTimePicker ID="RadDateTimePicker1" runat="server" MinDate="2000/1/1" Width="170px" >
       <TimeView ID="TimeView1" StartTime="09:00" EndTime="17:00" Interval="0:15:0" runat="server" />
</telerik:RadDateTimePicker>    
Wize Owl
Top achievements
Rank 1
 answered on 11 Mar 2010
1 answer
115 views
Hello,

I'm using RadScheduler from Telerik and in the left upper corner there is a function to go to a date. if u click on it u get like a mini calendar and there u can choose a date.

Scenerario example :
Monday and Wednesday I have appointments and sometimes on other days.
Can those days be shown as bold?
like March 2010

 M    T   W   T    F    S    S
  1    2    3    4    5    6    7 
  8    9  10  11  12  13  14
15  16  17  18  19  20  21
22  23  24  25  26  27  28
29  30  31

Like this so u can see which day has appointments.

Byee Vishaal  
Peter
Telerik team
 answered on 11 Mar 2010
3 answers
105 views

 

We have been using your Grid for sometime now.
At First we used you RadGrid and added a Resizing Property and it works well
<Resizing AllowColumnResize="true" AllowRowResize="false" EnableRealTimeResize="true"  ResizeGridOnColumnResize="false">

When we resize the column the grid does not resize(since ResizeGridOnColumnResize ='false')
and this is what we needed.

Then we tried using the Scrolling property.
<Scrolling AllowScroll="true" UseStaticHeaders="true" />

Our Problem is that when we resize a certain Column the whole grid get resized.

When a certain column is resize to the left, the grid does not resize but the column adjust and we can see that at the rightside of the grid that there are white spaces with no grid lines, the last column adjust and leave this white spaces.

When we adjust a column to the right, the grid resizes itself

I want to do two options:

a) when i adjust the grid column, the grid will not resize then the column will resize to the grids width(like the grid before i add scrolling)

 

b) when i adjust the grid column, the grid is fixed in size the a horizontal scroll will appear and the column will be adjusted

Hope you can help.
Thanks

Pavlina
Telerik team
 answered on 11 Mar 2010
4 answers
877 views
Hi team,
I'm on version 2009.2.701.35. I need a way to set the parent node to (checked) when all children are (checked). 

 

telerik:RadTreeView Skin="Web20" runat="server" ID="radTVBranches" CheckBoxes="true"   
   
 
 
 
   
 
   
 
OnClientNodeChecked="AfterCheck">  
my ActerCheck function is written as this:   
Format Code Block(  
 
   
function  
 
   
 
AfterCheck(sender, eventArgs) (   
   
 
   
 
 
 
   
 
var childNodes = eventArgs.get_node().get_nodes(); //get all the child nodes   
   
 
 
 
   
 
   
 
var isChecked = eventArgs.get_node().get_checked(); //get all nodes that are checked   
   
 
 
 
   
 
   
 
var node = eventArgs.get_node(); // get the parent node   
   
 
 
 
   
 
   
 
   
 
// uncheck the parent if any child is unchecked.   
   
 
 
 
   
 
   
 
if (!node.get_checked()) {   
   
 
   
 
 
 
   
 
while (node.get_parent().set_checked != null) {   
   
 
node.get_parent().set_checked(  
 
 
 
   
 
false);   
   
 
nodenode = node.get_parent();  
 
}  
 
}  
 
UpdateAll(childNodes, isChecked, node);   
 
 
 
   
 
//update all nodes after check   
   
 
 
 
   
 
}  
 
)  
 

What am I missing ?
Thanks,
 DK
Derrick King
Top achievements
Rank 1
 answered on 11 Mar 2010
4 answers
270 views
Hi,
We discovered an omission in the RadControls VB.NET WebSite VSTemplate for Visual Studio 2008 in the RadControls for ASP.NET AJAX Q3 2009 SP2 distribution. Due to a wrong Telerik.Web.UI.VSX assembly version mentioned in the VSTemplate file, the Visual Studio IDE throws an error, saying "this template attempted to load an untrusted component 'Telerik.Web.UI.VSX, Version-2009.03.1313.0...".

Below are the steps to fix the problem:
  1. Download the attached RadControlsForASPNETAJAXVisualBasicWebSite.zip file and copy it to the [Visual_Studio_2008_Install_Dir]\Common7\IDE\ProjectTemplates\Web\VisualBasic folder (typically C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\ProjectTemplates\Web\VisualBasic). When asked, replace the original one.
  2. EDIT (to fix the Telerik > Web node in the New Project dialog as well): In addition to replacing the zip file, extract its content to the [Visual_Studio_2008_Install_Dir]\Common7\IDE\Templates\Telerik\Web\VisualBasic folder, replacing the files when asked.
  3. Start a Visual Studio 2008 Command Prompt and run the following command:
    devenv.com /setup

Erjan Gavalji
The Telerik team
Lynn
Top achievements
Rank 2
 answered on 11 Mar 2010
1 answer
177 views

Can you provide or point me to an example of adding a RadToolTip to a RadGrid:GridImageColumn.

 

The sample code I have seen finds the target control using e.Item.FindControl to find the control by Id name but I don’t know how to find the GridImageColumn since it doesn’t have an Id attribute.

 

Thanks,

-Chip

Svetlina Anati
Telerik team
 answered on 11 Mar 2010
2 answers
235 views
I was viewing the sample that you have on your site for the TreeView and Editor drag and dropping of images between the two, and I was wondering if this would be possible with the RadGrid as well? I saw the demo of the Telerik RadGrid where rows can be dropped from one control to the other, and I was not sure if there was anyway of doing this with a 1 column RadGrid (which will contain images)?


Thank you in advance!
Tim O'Brien
Top achievements
Rank 1
 answered on 11 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?