Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
139 views
Hi,

I am having mastergrid and 3 levels of hierarchal gridtables inside . i want to get the master grid datakeynames in OnDetailTableDataBind event when i am expanding the second  hierarchal level grid table. Please help  .....


Thanks 
Raju
Shinu
Top achievements
Rank 2
 answered on 07 Jan 2013
1 answer
161 views
inside the popup Image Manager of my rededitor, Is it possible to hide the file path box? I want to hide the server location of the folder from user.

thanks in advance
Princy
Top achievements
Rank 2
 answered on 07 Jan 2013
1 answer
144 views
I have a some radmenu items with subitems in a dropdown and I need to remove the subitems, my code is.

function RemoveItems() {
            var menu = $find("<%= ResourceContextMenu.ClientID %>");
            var items = menu.findItemByText("Resources");
            for (var i = 0; i < items.get_count(); i++) {
                items.remove(i);
            }
            menu.trackChanges();
            menu.commitChanges();
        }
But i get an error in get_count.. I accomplish to remove the Resource Item but the only thing i want to remove is the Resource subitems..
What is wrong with my code?
Princy
Top achievements
Rank 2
 answered on 07 Jan 2013
0 answers
85 views
Hi telerik,
I have a grid with frozon columns in my project, I intend to set width for some columns, I refer to the demo below in help article
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/frozencolumns/defaultcs.aspx 
I noticed that it use the following to set width for ALL Columns 
<HeaderStyle Width="200px"></HeaderStyle> 
but I only intend to set some specific columns, taking the demo above for example, I only want to set the column 'Address' width to 500px,
when remove <HeaderStyle width="200px"></HeaderStyle> and set column 'Address' width to 500px, it does not work and the horizontal scroll bar 
I also noticed there is another help article 
http://www.telerik.com/help/aspnet-ajax/grid-scroll-with-static-headers.html
there is a note said 'When scrolling is enabled and UseStaticHeaders is True, the grid columns should declare HeaderStyle.Width.'
does that mean 'HeaderStyle.Width' will apply to all columns?
could you please how to set width for specific columns when using frozon column?
Albert
Top achievements
Rank 1
 asked on 07 Jan 2013
0 answers
34 views
Inside an EditItemTemplate of a Grid I have two buttons:

<div>
    <asp:Button runat="server" ID="btnSave" CommandName="Update" Text="Save" OnClick="btnSave_Click" />
    <asp:Button runat="server" ID="btnCancel" CommandName="Cancel" Text="Cancel" CssClass="floatRight" />
</div>

The first Save button is placed inside a "rfdSkinnedButton" anchor tag and has rounded corners etc.
The second Cancel button is not automatically styled this way. Seems its explicit CssClass overrides this behaviour. What is this behaviour called? Grid skinning?

How do I float my Cancel button right but still get the rounded corners etc?
Peter
Top achievements
Rank 1
 asked on 07 Jan 2013
8 answers
429 views
Hello,

I have a RadGrid on my page with AllowMultiRowSelection="true" and clientSelectColumn.
In the itemDataBound evennt I perform some check on the binded item and sometimes disable the row:
e.Item.Enabled = false;    

While this line disables the checkbox, the row can still be checked when clicking on it.
Moreover, when clicking on the check all check box in header all the checkboxes become checked, even the disabled ones.

Is that a bug?




This is the grid declaration:
<telerik:RadGrid ID="gridReviews" runat="server"
            AutoGenerateColumns="false" AllowMultiRowSelection="true"
            onitemdatabound="gridReviews_ItemDataBound"  >            
            <HeaderContextMenu>
            <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
            </HeaderContextMenu>
            <ItemStyle Wrap="False" />
            <MasterTableView DataKeyNames="Value.Id">                
                <Columns>                    
                    <telerik:GridClientSelectColumn UniqueName="ReviewSelectCol">                        
                    </telerik:GridClientSelectColumn>
               .....
               .....


                </Columns>
            </MasterTableView>
            
            <ClientSettings >
                        <Selecting AllowRowSelect="True" />
                        <Scrolling AllowScroll="True" UseStaticHeaders="True" />
                        <Resizing AllowColumnResize="True" EnableRealTimeResize="True" />
            </ClientSettings>

        </telerik:RadGrid>

Thanks,
Maria.
Vlad
Top achievements
Rank 1
 answered on 06 Jan 2013
0 answers
79 views
Hi,

How should I publish a web site to get a release version?
I mean to get min JS and min Css resources in WebResource.axd link for telerik controls.

Some images and js resources of Telerik controls that are linked by WebResource.axd do not get cached by the browser (there is no 'Expire Date' in response header). what should I do to make this resource links cachable??


Thank you very much. 
reza
Top achievements
Rank 1
 asked on 05 Jan 2013
1 answer
85 views

im loading items using loadondemand(ItemsRequested) on a usercontrol ascx i also attach attributes to items

eg

item.Attributes.Add("onclick", "NavigateAreaSelection(" + CRMAreaID + ")")


the problem i have is that when you select an item i navigate to a different page but would like to keep the 
selected item selected, i try to do this on the page load of the usercontrol but i find that it doesn't have any items and will always be empty
So How do i Maintain the selected input or populate the combobox on navigating to a different page ?


below page load 

If ComboAllContacts.Items.FindItemByValue(AreaHelper.GetSelectedAreaID())
IsNot
Nothing Then ComboAllContacts.SelectedValue = AreaHelper.GetSelectedAreaID()End If


Kevin
Top achievements
Rank 2
 answered on 05 Jan 2013
2 answers
150 views
Hello,

I am having problems with the RadToolBar.  I created a page that utilized the RadToolBar and fires the ButtonClick event when the user clicks a RadToolBarButton.  When testing the page, clicking on the button would not cause the event to fire.  I removed all form elements except the RadToolBar and tested the page.  When you click on the RadToolBarButton, the event fires as it should.  I systematically began adding form elements into the form.  As soon as you add a RequiredFieldValidator control, the event no longer fires as it should.

I have been having intermittent problems with the toolbar prior to this, but have the feeling that the problems I am having are interrelated.  Does anyone have an answer to why this problem is occurring with the validator and what a possible workaround is?  

Thank you in advance for any assistance offered.

- Robert Eberhart
Kevin
Top achievements
Rank 2
 answered on 05 Jan 2013
4 answers
119 views
Hi ,
I am using RadEditor . I have implemented the event OnExportContent and is not being fired.
It was working previously . Here is the code

<

 

telerik:RadEditor ID="_radMergedContent" OnExportContent="_radMergedContent_ExportContent"

 

 

Width="500" Height="450" ToolsFile="~/CommonResources/PDFGeneratorTools.xml"

 

 

OnClientLoad="OnClientLoad" runat="server">

 

 

<ExportSettings Pdf-FontType="Embed" Pdf-PageTopMargin="20" Pdf-PageBottomMargin="20"

 

 

Pdf-PageLeftMargin="20" Pdf-PageRightMargin="20" />

 

 

</telerik:RadEditor>

 



There is a button "Send Mail"and OnClick of which i set these values

_radMergedContent.ExportSettings.FileName = GetPDFFileName();

_radMergedContent.ExportSettings.OpenInNewWindow =

true;

 


_radMergedContent.ExportToPdf();



On execute of the above statement the method _radMergedContent_ExportContent
needs to be fired but does not happen .

Regards,
Kris
J2K
Top achievements
Rank 1
 answered on 05 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?