Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
60 views
Hi,
 I need to catch the submit event in order to show a user lock layer to avoid multiple user click.
 I tried different way, submit direct event, and in the last (in the hope was the right way) this:

In page.cs :
 protected override void OnLoad(EventArgs e) {
            base.OnLoad(e);
            ScriptManager.RegisterOnSubmitStatement(Page, Page.GetType(), "myPostbackHandler", "myPostbackHandler()");
        }
In page.aspx :
<script language="javascript" type="text/javascript">
        function myPostbackHandler() {
            ... code to show a layer, etc...
        }

In every way I did,  when an ajax call occurs like  mouse over a rad:tooltip control,  
the function myPostbackHandler or submit event is always call.

Is there a way to distinct these DIFFERENT (ajax call, real submit) action on client side  ?

Thanks a lot. 
Tsvetina
Telerik team
 answered on 24 Feb 2012
4 answers
124 views
hi

I am using the default advanced Insert form and i have 2 custom attributes. Hyperlink and Color

I would like to add a radcolorpicker to the Color attribute. How should i go about it?

I have attach a screenshot for you reference. Thanks
Ivana
Telerik team
 answered on 24 Feb 2012
3 answers
123 views
Hi. I'm trying to filter my grid with a combobox but I don't succeed (sorry but the documentation really sux!)

Here's what I'm trying to <telerik:RadGrid AutoGenerateColumns="false" ID="RadGrid1" OnNeedDataSource="NeedDataSourceClient">
  <MasterTableView AllowFilteringByColumn="True" AutoGenerateColumns="false"
<telerik:GridTemplateColumn DataField=country_Id" UniqueName="country_Id SortExpression=country_Id AutoPostBackOnFilter="true">
<FilterTemplate>
<telerik:RadComboBox ID="rcbCountries" runat="server"> </telerik:RadComboBox>
<FilterTemplate>
<ItemTemplate><%# global.GetCountry(DataBinder.Eval(Container, "DataItem.country_Id))%>
</ItemTemplate>
</telerik:GridTemplateColumn
</MasterTableView
</telerik:RadGrid>    


 

How can I do that?

My first issue is to fill my combobox, how can I do that with linq? (which is not explain here:http://www.telerik.com/help/aspnet-ajax/combobox-data-binding-data-source.html as it said in the summary)
Antonio Stoilkov
Telerik team
 answered on 24 Feb 2012
1 answer
49 views
Hi,

Currently we are working with dashboard application and it displays mutiple jquery windows, each of the windows shows either chart or Grid(radgrid). While user closes the dashlet (jquery window), we will adjust the height /width of the other active dashlets.

issue we are facing is, while resizing the height of the grid, if grid contains less number of rows, botttom of the grid show grey colored area which appeared to be ugly(please refer the attached screen shot). Can you please guide me to solve this issue ?

Thanks
Venkat
Pavlina
Telerik team
 answered on 24 Feb 2012
1 answer
116 views
Appologies if this has been asked, I've done a quick search and haven't found *quite* what I am looking for. I am curious if there is any good example for implementing a database driven content provider for RadEditor ImageManager. Basically our storage system will break files uploaded down into directories by date uploaded, then the system relies upon database links to make the reference to the business object (say a written report in this case) that it will be associated with.

I found one very bare bones example for RadImageManager, which seems perhaps somewhat applicatable. But that example seems to be more of a general file manager in nature, and I wasn't totally sure if the same structure will apply to the radeditor.

Thanks,
Rumen
Telerik team
 answered on 24 Feb 2012
3 answers
85 views
Hi,
   I'm using Rad Splitter for showing left side menu in my application. On clicking on a menu, a page with Flash player will be loaded in the Content Place Holder. After showing my Flash player, If I'm trying to open my left menu, the Sliding Zone content rendered is shown behind the flash player.

1) Is there any way to set the RadSlidingPane content displayed on top of the Flash player??
2) Will z-index of RadSlidingPane help on this..? how to set the z-index for RadSlidingPane?
3) Can I get the clientside click event of the SlidingPane? if so, i'll hide the Flash Player on clicking of the Title and later display the Flash player on clicking on the Dock image....

Sample code for your references
<telerik:RadSplitter ID="RadSplitter" runat="server" Height="100%" Width="100%" OnClientLoad="SplitterLoad"
VisibleDuringInit="false">
<telerik:RadPane ID="RadLeftMenuPane" runat="server" Width="22px" BackColor="#efefef"
scrolling
="None">
                            <telerik:RadSlidingZone ID="RadLeftMenuSlide" runat="server" Width="22" ClickToOpen="true"
                                BackColor="#0b497b" SlideDirection="right">
                                <telerik:RadSlidingPane ID="RadCommonLeftMenu" runat="server" Title="Menu" Width="200px">
                                    <asp:ContentPlaceHolder ID="ContentPlaceHolder2" runat="server">
                                    </asp:ContentPlaceHolder>
                                </telerik:RadSlidingPane>
                                <telerik:RadSlidingPane ID="RadReferencesMenu" runat="server" Title="References" Width="200px"
                                    Visible="false" Font-Size="12px" UndockText="true" ResizeText="true">
                                    <asp:ContentPlaceHolder ID="ContentPlaceHolder3" runat="server">
                                    </asp:ContentPlaceHolder>
                                </telerik:RadSlidingPane>
                            </telerik:RadSlidingZone>
                        </telerik:RadPane>
                        <telerik:RadPane ID="RadMiddlePane1" runat="server" Scrolling="None" Width="100%"
                            Height="100%">
                            <telerik:RadSplitter ID="Radsplitter2" runat="server" Orientation="Horizontal" VisibleDuringInit="false">
                                <telerik:RadPane ID="Radpane2" runat="server">
                                    <div id="pagecontent" class="PageContent" style="height: 100%">
                                        <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                                        </asp:ContentPlaceHolder>
                                    </div>
                                </telerik:RadPane>
                            </telerik:RadSplitter>
                        </telerik:RadPane>
                    </telerik:RadSplitter>
Dobromir
Telerik team
 answered on 24 Feb 2012
8 answers
237 views
I have an application that allows the user to choose which skin they want to use. I currently have it working with Telerik.EnableEmbeddedSkins = true. So, all the built-in skins are working fine. I'm using RadSkinManager to set the skins globally for the pages. However, I have some custom skins too that I would like to support. So far, as far as I can tell, RadSkinManager only works for built-in embedded skins? Also, I'm wondering is it possible to use embedded skins, and then only have the custom skins as separate files in the file system? Or, do I have to extract all the standard skins out to the files system and then turn off embedded skins? And if I do that, does that mean that RadSkinManager will no longer work?
Tsvetoslav
Telerik team
 answered on 24 Feb 2012
2 answers
45 views
this is correct:

For Each item As GridDataItem In RadGrid1.SelectedItems
            Dim value As [String] = item("Priorità").Text.ToString()
            MsgBox(value)
        Next
       

but if i want value of single cell in row 0?

        Dim x As GridDataItem = RadGrid1.SelectedItems(0)
        Dim r As String = x("NameColumn").Text
        MsgBox(x)
Tsvetoslav
Telerik team
 answered on 24 Feb 2012
1 answer
98 views
hello,

(please see attached picture).

I was working on a project since months.
I upgrade it with new version in 2011, i sold problem with skin.
I upgrade it to new version 2012.

Skin are lost again.

I must say : I close my visual studio, redo the configuration for skin, upgrade tool box ...

It does'nt works.

What can i do please ??


Evelyne MARTIN
Top achievements
Rank 2
 answered on 24 Feb 2012
8 answers
158 views
I have enabled AllowFilteringBycolumn.How to change the default fiilter options which are shown
Princy
Top achievements
Rank 2
 answered on 24 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?