Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
127 views
Hello Telerik,

i am changing my telerik verision from 2009 to Q3 2011. the problem when i am opening a rad window , the window shows as like in the image attached. when i use 2009 version telerik it is working fine. same problem comes when i am using 2010 version also.
1.    i am using ie 8
2.    i am usng custom skin ( gvip) ( attached )
i came up with the same issue before, but i did not get any proper solution for this. so i revert back my application to telerik 2009 version. but not i have to change my telerik version to 2011 Q3. so please give a solution ASAP.

ASPX code
<telerik:RadWindowManager ID="RadWindowManager2" runat="server" EnableEmbeddedSkins="false"
 Skin="gvip"  >
   <Windows >
      <telerik:RadWindow ID="rwPopup" ReloadOnShow="true" runat="server" Modal="True" EnableEmbeddedSkins="false">
       </telerik:RadWindow>
       <telerik:RadWindow ID="rwMaterialSearch" runat="server" Modal="True" OnClientClose="OnCloseMaterial"
           EnableEmbeddedSkins="false">
       </telerik:RadWindow>
   </Windows>

Custom skin ( Window.gvip.css )
.RadWindow_gvip .rwTopLeft,
.RadWindow_gvip .rwTopRight,
.RadWindow_gvip .rwTitlebar,
.RadWindow_gvip .rwFooterLeft,
.RadWindow_gvip .rwFooterRight,
.RadWindow_gvip .rwFooterCenter,
.RadWindow_gvip .rwTopResize,
.RadWindow_gvip .rwStatusbar div,
.RadWindow_gvip .rwStatusbar,
.RadWindow_gvip .rwPopupButton,
.RadWindow_gvip .rwPopupButton span,
.RadWindow_gvip.rwMinimizedWindow .rwCorner
{
    background-image: url('Window/WindowHorizontalSprites.gif');
}
  
.RadWindow_gvip .rwBodyLeft,
.RadWindow_gvip .rwBodyRight,
.RadWindow_gvip .rwStatusbarRow .rwCorner
{
    background-image: url('Window/WindowVerticalSprites.gif');
}
  
.RadWindow_gvip .rwStatusbar input
{
    background-color: #f7f3e9;
}
  
.RadWindow_gvip .rwControlButtons
{
    margin-top: 1px;
}
  
.RadWindow_gvip .rwControlButtons a
{
    background-image: url('Window/CommandButtonSprites.gif');
}
  
.RadWindow_gvip a.rwIcon
{
    background-image: url('Window/WindowHorizontalSprites.gif');
}
  
div.RadWindow_gvip .rwTitlebarControls em
{
    color: white;
}
  
div.RadWindow_gvip .rwDialogInput
{
    border: solid 1px #6788be;
}
  
div.RadWindow_gvip .rwDialogInput:hover
{
    border-color: #3f5f94;
}
  
div.RadWindow_gvip td.rwLoading
{
    background-color: #fff;
}
  
div.RadWindow_gvip td.rwWindowContent
{
    background-color: #fff;
}
  
/* Loading Indicators */
  
/* When ShowContentDuringLoad="true" */
div.RadWindow_gvip td.rwWindowContent.rwLoading
{
    background-image: url('Common/loading.gif');
}
  
/* When ShowContentDuringLoad="false" */
div.RadWindow_gvip input.rwLoading
{
    background-image: url('Common/loading_small.gif');
}
  
.RadWindow_gvip a.rwCancel,
.RadWindow_gvip a.rwCancel span
{
    background: none;
    cursor: pointer;
    cursor: hand;
}
  
.RadWindow_gvip a.rwCancel span span
{
    color: #395ba0;
}
  
.RadWindow_gvip a.rwCancel:hover span span
{
    color: #002bb8;
    text-decoration: underline;
}


Princy
Top achievements
Rank 2
 answered on 07 Feb 2012
2 answers
351 views
Hi,

I have a two level hierarchical grid where I need to apply some logic at ItemDataBound etc.

On my ItemDataBound event I check whether a column contains a specific value and based on that I change the font color:

protected void grdCurrentGarnishee_ItemDataBound(object sender, Telerik.Web.UI.GridItemEventArgs e)
        {
            if (e.Item is GridDataItem)
            {
                var item = e.Item as GridDataItem;
 
                if (item["ValidationState"].Text == "UNMATCHED")
                {
                    item.ForeColor = System.Drawing.Color.Red;
                }
            }
        }

This is working great but is causing some issue when I expand the child (details) table since the child table does not contain that column.

Is there a way to check whether e.Item is from the "parent" table and not details table?

Thanks
Johan
Top achievements
Rank 1
 answered on 07 Feb 2012
1 answer
143 views
Hi

I have setting the property imageeditor.language = "it-IT"
but i never find in telerik web site the corrispondent .resx files

Exist a default resx file to translate in other languages?

thx

Fabio
Princy
Top achievements
Rank 2
 answered on 07 Feb 2012
1 answer
120 views
I have a grid having the first column as the hyperlink type which navigates to the detail page for that record.

But when i try to filter the record by this column it does not working only for th first time and works fine after that.
 Please give suggestions what may be the reasons and what can be fixes if any.
Thanks in advance ..:)

Here is th column i had used as mentioned below :-

<telerik:GridHyperLinkColumn UniqueName="CustomerID" DataTextField="CustomerID" DataNavigateUrlFields="CustomerHeaderSK"
                        DataNavigateUrlFormatString="~/Modules/SP/CustomerRecordView.aspx?Mode=Edit&ID={0}"
                        HeaderStyle-Width="80px" HeaderText="Customer" SortExpression="CustomerID" CurrentFilterFunction="StartsWith"
                        ShowFilterIcon="False" AutoPostBackOnFilter="True" FilterControlWidth="60px">
                        </telerik:GridHyperLinkColumn>
Shinu
Top achievements
Rank 2
 answered on 07 Feb 2012
7 answers
145 views
Hi,

I have a hierarchical grid with 2 layers (parent level: customer, child level: orders) with a delete column for orders (using Grid_DeleteCommand). When a customer is expanded, and every order of that customer is deleted, instead of the grid showing the expanded customer with "No child records to display.", I'd like that customer deleted.

I can handle this logic in the datasource backend (every time the user deletes an order, I check if there are orders for a left for the customer, if not, delete the customer from the database), but the problem is after Grid_DeleteCommand, Grid_DetailTableDataBind is called and the grid still tries to expand the non-existent customer (ie. the grid still behaves normally, the customer is still shown with the children "No child records to display". The deleted customer only disappears from the grid after a call to Grid_NeedDataSource. How would I get the grid to not call Grid_DetailTableDataBind after the parent has its last child deleted? (and then refresh the parent grid)? Any help would be appreciated.

Thanks,
Donald
Donald
Top achievements
Rank 1
 answered on 07 Feb 2012
1 answer
92 views
I want to expand/collapse nodes by clicking on the plus-minus graphic on the client side (Javascript). When I try to do it I can only click on the text of the node.

How do I do this?
Tree definition bellow:

<telerik:RadTreeView ID="RadTreeView1" runat="server" CheckBoxes="True" MultipleSelect="True"
    EnableViewState="true" ShowLineImages="False" EnableEmbeddedSkins="False" Skin="tree_2"
    OnNodeClick="RadTreeView1_NodeClick" OnNodeDataBound="RadTreeView1_NodeDataBound" >
    <NodeTemplate>
        <small>
            <asp:Label ID="lblnodeText" Text='<%#Eval("Title") %>' runat="server" /><asp:Label
                ID="lblCatId" Text='<%#Eval("Id") %>' runat="server" Visible="false"></asp:Label><asp:Label
                    ID="lblisCustomer" Text='<%#Eval("isCustomer") %>' runat="server" Visible="false"></asp:Label><asp:Label
                        ID="Description" runat="server" Text='<%#Eval("description") %>' Visible="false" /><asp:HiddenField
                            ID="DescriptionVisible" runat="server" Value='<%#Eval("descriptionVisible") %>' />
            <a href="javascript:Popup_Window('category_detail','<%# Eval("id") %>')" style="text-decoration: none;">
                <span style="color: #BBBBBB">e</span></a></small></NodeTemplate>
</telerik:RadTreeView>

Princy
Top achievements
Rank 2
 answered on 07 Feb 2012
1 answer
101 views
Hi there,

The worksheet is always changed based on the file name when I try to export an excel from RadGrid. How do I make sure that the worksheet will always be "Sheet 1" regardless of file name it is?

Regards,

Below is the code for exporting.

            rg.MasterTableView.GroupByExpressions.Clear(); 
            rg.ExportSettings.ExportOnlyData = true;
            rg.ExportSettings.IgnorePaging = true;
            rg.ExportSettings.FileName = "Sheet1";// dtToday.Year.ToString() + " " + dtToday.Month.ToString() + " " + dtToday.Day.ToString() + " " + customer;
            
            if (rg.MasterTableView.Items.Count != 0) rg.MasterTableView.ExportToExcel();

Shinu
Top achievements
Rank 2
 answered on 07 Feb 2012
1 answer
52 views
i am binding a  sp directly with radgrid and i wannt total on foooters in some of them ,, since the data is  dynamic i dont know wat would i get
like sometimes

name blockvale blocktype 1  2   3  4   5 6 7 8 9  10 

name blockvale blocktype 1  2   3  4 5   if i select till 5

name blockvale blocktype 1  2   3  till 3

i want total belows 1,2,3 

i have seen the telerik grid footer url but not helping 
please dont give me again the same url ...@telerik admins 

please teme a solution plzzzz plzzz ........



Shinu
Top achievements
Rank 2
 answered on 07 Feb 2012
1 answer
86 views
Hi, 

I am getting Error: 'Telerik' is undefined.
It happened after I installed debugbar.
It is happening in only IE but not in Chrome and FireFox.
I have uninstalled debugbar still I am getting same error.
Any solutions?

Best Regards,
Damodar
Damodar
Top achievements
Rank 1
 answered on 07 Feb 2012
1 answer
69 views
How can I select rows in RadGrid through the up / down arrows?Sorry for bad english .. Help please...  
Shinu
Top achievements
Rank 2
 answered on 07 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?