Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
92 views
Hi,

I have Rad ASP NET AJAX A1 2009 SP1. I run in Visual Studio 2005 and all controls works fine.(Example : RadGrid, RadPanelBar...)

But when i deployed on Local IIS 7, No controls are displaying. I don't know what went wrong. Its works well when i run in visual studio 2005 but on IIS its not. Even i am not getting any errors.

My operating System is Visa.

Please tell me what's the solutions to this problem.

Thanks.

Regards
Syed Arshad
Andrés Salinas
Top achievements
Rank 1
 answered on 29 Oct 2009
2 answers
179 views
I have a panelbar nested in a spliter.  I want the two panels to initially load as expanded and each using half of the available space, with the contents within each panel scrollable if necessary.  Right now, it shows both panes, and the entire panelbar is scrollable.

The attached file is a PDF screen print of how it looks now, but you should be able to get an idea of what it is that I'm trying to achieve.

My code looks like:

<telerik:RadSplitter ID="spltMain" Width="100%" Height="100%" runat="server">  
        <telerik:RadPane ID="paneMain" runat="server" Height="100%" Width="70%">  
            <telerik:RadPanelBar ID="pbarMain" runat="server" Width="100%" ExpandMode="MultipleExpandedItems">  
                <Items> 
                    <telerik:RadPanelItem Text="Dashboard" Font-Size="14px" ForeColor="White" Expanded="true" Height="50%">  
                        <ItemTemplate> 
                            <div style="margin: 0px 5px 0px 5px;">  
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here<br /> 
                                The dashboard will go here  
                            </div> 
                        </ItemTemplate> 
                    </telerik:RadPanelItem> 
                    <telerik:RadPanelItem Text="Most recently opened WO's" Font-Size="14px" ForeColor="White" Expanded="true" Height="50%">  
                        <ItemTemplate> 
                            <div style="margin: 0px 5px 0px 5px;">  
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here<br /> 
                                The WO info will go here  
                            </div> 
                        </ItemTemplate> 
                    </telerik:RadPanelItem> 
                </Items> 
            </telerik:RadPanelBar> 
        </telerik:RadPane> 
        <telerik:RadPane ID="paneMsgArea" runat="server" Height="100%" Width="30%">  
            This should be the area where the emergency contact and messages will appear  
        </telerik:RadPane> 
</telerik:RadSplitter> 

Thanks in advance!
Steve
Steve LaForge
Top achievements
Rank 1
 answered on 29 Oct 2009
5 answers
219 views
We have a grid the user wants to use to export data.  Once the export is completed, we want to update a 'last exported date'.

I've tried putting code right after I call grid.MasterTable.ExportToExcel() which will perform this update, but the excel spreadsheet has the 'new' last export date instead of the old one.   I've tried putting code into the OnExcelMLExportRowCreated, but that's not doing what I want either.   we've also looked at the gridExporting event to try and get it to happen after the export actually gets the data from the database - but the ExportToExcel method seems to get data after this occurs as well.

So is there a way I can accomplish this (say a GridExported event) that I am just missing?
Sebastian
Telerik team
 answered on 29 Oct 2009
1 answer
145 views
I have change the rad menu item's group setting to flow=horizontal. But the child drop down still in vertical flow.

Can anyone help?

<

 

telerik:RadMenu ID="RadMenu" Runat="server" Skin="Web20" Width="100%">

 

 

<DefaultGroupSettings Flow="Horizontal" />

 

 

<Items>

 

 

<telerik:RadMenuItem runat="server" Text="Root RadMenuItem1">

 

 

<Items>

 

 

<telerik:RadMenuItem runat="server" Text="Child RadMenuItem 1">

 

 

</telerik:RadMenuItem>

 

 

<telerik:RadMenuItem runat="server" Text="Child RadMenuItem 2">

 

 

</telerik:RadMenuItem>

 

 

</Items>

 

 

<GroupSettings Flow="Horizontal" />

 

 

</telerik:RadMenuItem>

 

 

<telerik:RadMenuItem runat="server" Text="Root RadMenuItem2">

 

 

<Items>

 

 

<telerik:RadMenuItem runat="server" Text="Child RadMenuItem 1">

 

 

</telerik:RadMenuItem>

 

 

<telerik:RadMenuItem runat="server" Text="Child RadMenuItem 2">

 

 

</telerik:RadMenuItem>

 

 

</Items>

 

 

<GroupSettings Flow="Horizontal" />

 

 

</telerik:RadMenuItem>

 

 

<telerik:RadMenuItem runat="server" Text="Root RadMenuItem3">

 

 

<Items>

 

 

<telerik:RadMenuItem runat="server" Text="Child RadMenuItem 1">

 

 

</telerik:RadMenuItem>

 

 

</Items>

 

 

<GroupSettings Flow="Horizontal" />

 

 

</telerik:RadMenuItem>

 

 

<telerik:RadMenuItem runat="server" Text="Root RadMenuItem4">

 

 

</telerik:RadMenuItem>

 

 

</Items>

 

 

</telerik:RadMenu>

 

 
Yana
Telerik team
 answered on 29 Oct 2009
8 answers
307 views
Hi

I am attaching a capture.jpg file in which a snap shot of rad grid is exist.

In the Attachment i have grid header alignment issue.
can any one gives a solution.

Thanks is advance.
Dimo
Telerik team
 answered on 29 Oct 2009
3 answers
67 views
I have a function that will change the page of the current radwindow, or open a new one to the provided url. I have 2 questions regarding this function.

function ChangePage(FileName)  
{  
if (window.frameElement) {  
        // A window is already open - Redirect        
        GetRadWindow().SetUrl(FileName);  
          
        // Resize the window  
        var curWindowSize = GetRadWindow().getWindowBounds();  
        GetRadWindow().center();  
        GetRadWindow().setSize(width,height);  
        GetRadWindow().set_modal(modal);  
        //GetRadWindow().show();  
    } else {  
        // No window - open a new one  
        openRadWindow(FileName,height,width,modal,0,1,1,qty);  
    }  
}  

#1 - I recently noticed that my modal settings were getting changed after updating the url of the window. I would start with a non-modal window, click the button that triggers the change and have the window immediately go modal upon redirecting the url. I narrowed it down the the GetRadWindow().show() line being the culprit. What does show() do? The script still seems to work without it...is it necessary?

#2 - Can I change the window behaviors at the same time I'm setting the new url? Some of the destinations require the reload window and no close button when coming from the initial window that only has close.
Using version 2008.1.515.20.
Nik
Top achievements
Rank 1
 answered on 29 Oct 2009
1 answer
146 views
Hi,

I have 2 comboboxes on a page. When the user changes the first combobox i would like to focus the second one.
I'm using the OnClientSelectedIndexChanged event of the first combobox to achieve this. On IndexChanged calls the following javascript method
function FirstComboBox_IndexChanged(sender, args) {  
    var comboBox = $find("secondRadComboBox"));  
    if (comboBox != null) {  
        var input = comboBox.get_inputDomElement();  
        window.setTimeout(function() { input.focus(); }, 0);  
    }   

At first i just called input.focus() but i found this post stating i should call window.setTimeout(function() { input.focus() }, 0)
I debugged the code and the focus method gets called but the second combobox doesn't get the focus.

Is this something i can't do in the OnClientSelectedIndexChanged or do i have to call the focus method using another way?
Thanks in advance.
Jeroen Eikmans
Top achievements
Rank 1
 answered on 29 Oct 2009
3 answers
183 views
HI,

I have a RadTreeView. I need to display list box on click of leaf node of the tree. Can anybody help me in this?

Regards,
Medac
Princy
Top achievements
Rank 2
 answered on 29 Oct 2009
1 answer
185 views

I've done quite a bit of searching and reading, and maybe I just don't get it.  Here's my problem.

I have a RadGrid with a nested Detail table.  The Detail Table is configured to use a Form Template.  To bind the values in the Form Template, I'm using markup that looks like this:

 
<asp:Label ID="lblID" runat="server" Text='<%# DataBinder.Eval( Container, "DataItem.ServerPowerID" ) %>' ></asp:Label> 
The form populates with data nicely and everything is good.  That form has buttons on it for update and insert:
<asp:Button ID="btnUpdate"  Text='<%# (Container is GridEditFormInsertItem) ? "Insert" : "Update"%>' runat="server" CommandName='<%# (Container is GridEditFormInsertItem) ? "PowerInsert" : "PowerUpdate" %>'/>  
<asp:Button ID="btnCancel" Text="Cancel" CausesValidation="false" runat="server" CommandName="Cancel"/> 
I'm catching the RadGrid_ItemCommand (and I have verified that it fires).  In other, non-nested grids, I've used code like this to populate a custom data object that updates the database:
if (e.CommandName == "PowerUpdate")  
            {  
                GridEditableItem editedItem = e.Item as GridEditableItem;  
                CMDB.ServerPower power = new CMDB.ServerPower(Convert.ToInt32((editedItem.FindControl("lblID"as Label).Text));  
                power.ServerID= (Convert.ToInt32((editedItem.FindControl("lblServerID"as Label).Text));  
                power.ServerPowerNameID = Convert.ToInt32((editedItem.FindControl("ddlServerPowerName"as DropDownList).SelectedValue);  
                power.ServerPowerCircuitID = Convert.ToInt32((editedItem.FindControl("ddlServerPowerCircuit"as DropDownList).SelectedValue);  
                power.ServerPowerNotes = (editedItem.FindControl("tbNotes"as TextBox).Text;  
                power.Save(User.Identity.Name.ToString());  
                ServerRadGrid.Rebind();  
            } 

The problem is that editedItem is continually null.  Since this code works on non-nested grids with success, I assume that I'm not referencing the nested grid's editable item correctly.  Can someone either point me to a post/tutorial that shows me what the correct way to reference these controls on the nested grid are, or better yet just show me the light with this example? 
Shinu
Top achievements
Rank 2
 answered on 29 Oct 2009
1 answer
152 views
is it possible to use absolute paths as viewpath ?

Because the FileExplorer is in my CMS but I want to show a directory in the website, and the website is in a other directory . For example :
    - The directory of my cms : D:\CMS
    - The directory of my site : D:\Site

So is it possible to show the files of my site, in my CMS (where the fileexplorer is added) ?
Fiko
Telerik team
 answered on 29 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?