Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
72 views
I'm using the FileExplorer tool and every time I click on an item on the grid (right) side of the control the scroll bar jumps to the top leaving my selected item at the bottom of the grid.

Is there a way I can set the vertical scroll bar to just stay put when I click on an item in the grid section of the FileExplorer tool?

Thanks,
Jason
Tervel
Telerik team
 answered on 31 Mar 2009
1 answer
143 views
Hi,
I'm experiencing a problem with RadDock controls nested in RadPanelBar control. The problem is that if I want to limit the height of RadPanelBar, the nested RadDock controls appear outside the RadPanelItem in IE. In Firefox and Opera all works well. I searched the forum and found a topic that suggested using this css class ".slide{zoom:1}" but it didn't help. Here is a sample page:

PanelBar.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="PanelBar.aspx.cs" Inherits="PanelBar" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
 
<html xmlns="http://www.w3.org/1999/xhtml"
<head runat="server"
    <title>Untitled Page</title> 
    <style type="text/css"
    /*.slide{zoom:1}*/ 
    </style> 
</head> 
<body> 
    <form id="form1" runat="server"
    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager> 
    <div> 
        <telerik:RadDockLayout ID="RadDockLayout1" runat="server"
        <telerik:RadPanelBar ID="RadPanelBar1" runat="server" Height="100px" ExpandMode="FullExpandedItem" EnableEmbeddedSkins="false"
            <Items> 
                <telerik:RadPanelItem Expanded="true" Text="Docks" Value="Docks" Font-Bold="true" Font-Size="Medium" > 
                    <Items> 
                        <telerik:RadPanelItem> 
                            <ItemTemplate> 
                                <div> 
                                    <telerik:RadDockZone ID="RadDockZone1" runat="server"
                                        <telerik:RadDock ID="RadDock1" runat="server"></telerik:RadDock> 
                                        <telerik:RadDock ID="RadDock2" runat="server"></telerik:RadDock> 
                                        <telerik:RadDock ID="RadDock3" runat="server"></telerik:RadDock> 
                                        <telerik:RadDock ID="RadDock4" runat="server"></telerik:RadDock> 
                                        <telerik:RadDock ID="RadDock5" runat="server"></telerik:RadDock> 
                                        <telerik:RadDock ID="RadDock6" runat="server"></telerik:RadDock> 
                                    </telerik:RadDockZone> 
                                </div> 
                            </ItemTemplate> 
                        </telerik:RadPanelItem> 
                    </Items> 
                </telerik:RadPanelItem> 
            </Items> 
        </telerik:RadPanelBar> 
        </telerik:RadDockLayout> 
    </div> 
    </form> 
</body> 
</html> 
 

I'll appreciate any help.
Best regards,
Ivan Pelovski
Petio Petkov
Telerik team
 answered on 31 Mar 2009
1 answer
152 views
I am using a customized advanced insert/edit form in the Q3 2008 version of the Scheduler.
I am trying to set some of the default control properties for start date/time and end date/time by using the form created event and this vb code to set the value (in this example, of the EndDate):

 

If e.Container.Mode = SchedulerFormMode.AdvancedInsert Then

 

Dim enddateinput As RadDatePicker = New RadDatePicker

 

enddateinput =

DirectCast(e.Container.FindControl("EndDate"), RadDatePicker)

 

enddateinput.SelectedDate =

"06/28/09"
end if

but I get a "object variable or with block variable not set"

What is the correct way to access the controls in the customized advanced input form?

steve m

 

Genady Sergeev
Telerik team
 answered on 31 Mar 2009
14 answers
339 views
Hai,
I Have two rad combo boxes in a rad grid.
In the first rad combos selected index changed the values are to be filled in the second one.
How can I accomplish this?
I'm using the inline editing method.

Deepak S
kollam2003
Top achievements
Rank 1
 answered on 31 Mar 2009
3 answers
138 views
We have a self-hierarchical grid that can have any number of detail tables at run time.  There could be 20 or there could only be two.

Based on what I've seen in other forum topics, as well as the various demos pertaining to self-hierarchical grids, I'm under the impression I need to add the appropriate DetailTable.HierarchyLoadMode="Client" value to each of the detail tables.

However, whenever I add a "stub" detail table and then the above setting, when I try and expand (or collapse) a node, I get an error indicating that "Microsoft JScript runtime error: 'parentNode' is null or not an object".

If I change the expansion to be server side, no errors occur.  Unfortunately, the performance for going back to the server is unacceptable.

How is one supposed to expand nodes on the client side w/o knowing the number of detail tables that will be experienced in production?

I'm running Q3 2008 ASPNET AJAX tools in VS 2008.
Matt
Top achievements
Rank 1
 answered on 31 Mar 2009
1 answer
94 views
Hi
   Could u please tell me the full form of RAD . I dont know wether it is making sense or not.
   Could you please help me with this.
 
   
  Thanks
  Srikanth Gunnala
Shinu
Top achievements
Rank 2
 answered on 31 Mar 2009
1 answer
200 views
Hi there,

I have the same situation as http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/templates/defaultcs.aspx
Now I need to get a selected value of RadTreeView1.
The selected value returns VehicleTypeID rather than modelId (ID) naturally.
In this situation, how to get modelId (ID)?

Thanks a lot in advance,

Toby
Princy
Top achievements
Rank 2
 answered on 31 Mar 2009
2 answers
83 views
Hi! I have created new skin for my radgrid and put it in main .css file. On my grid, i have set skinID to be that new one,

EnableEmbeddedSkins

="false" and that's fine. But why can't I see images for the grid (expand etc). I did set the right ImagesPath to grid and the images have proper names (SinglePlus.gif, SingleMinus.gif, etc). Please help me.
Thanks, Ana

 

Ana
Top achievements
Rank 1
 answered on 31 Mar 2009
3 answers
126 views
Hello,

We have trying to use this example to limit the number of filter items. It does filter the items and data correctly. The problem is the filter item highlighted is not the one that was used to do the filter. For Example, I would filter on StartWith and none of the options are selected after the postback. Any help would be great.

protected void RadGrid1_Init(object sender, System.EventArgs e)  
{  
 GridFilterMenu menu = RadGrid1.FilterMenu;  
 int i = 0;  
 while(i < menu.Items.Count)  
 {  
   if(menu.Items[i].Text == "NoFilter" ||  
      menu.Items[i].Text == "Contains" ||  
      menu.Items[i].Text == "EqualTo" ||  
      menu.Items[i].Text == "GreaterThan" ||  
      menu.Items[i].Text == "LessThan")  
   {  
     i++;  
   }  
   else  
   {  
     menu.Items.RemoveAt(i);  
   }  
 }  
}  
Rosen
Telerik team
 answered on 31 Mar 2009
1 answer
72 views
There is some pretty weird stuff going on with selecting the paragraph style in the Q1 2009 release. It only seems to happen if only one line of text is in the Editor.

In IE8 (compatibility mode and standard), selecting paragrah style Heading1 on the first and only line of the text editor causes the Design view to blank out. You can still switch to HTML view, but moving back to Design view gives this error:

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB5; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618; OfficeLiveConnector.1.3; OfficeLivePatch.1.3)
Timestamp: Tue, 24 Mar 2009 14:58:31 UTC


Message: Object required
Line: 10658
Char: 1
Code: 0
URI: http://localhost/Samurai/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=ctl00_RadScriptManager1_HiddenField&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a0d787d5c-3903-4814-ad72-296cea810318%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2009.1.311.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a070b8305-9a64-4820-a61f-fac6c267586a%3a16e4e7cd%3a874f8ea2%3a63b115ed%3a1569bb5f%3adc7e0bd%3a1c565fc%3ac408cfaa%3af7645509%3a24ee1bba%3a19620875%3a33108d14

In FF, doing the same action causes a slightly different problem. Here, the design view does not blank, but you cannot add text after the Heading (you can still alter the Heading text though).

Very strange!

Anyone got any ideas?

Thanks

Nick.





Rumen
Telerik team
 answered on 31 Mar 2009
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?