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

In my application i got two RadComboBox as  ItemTemplate in grid , both has onselectedindexchanged event. But when i select cmbcolItemNo
- it fires cmbcolItemNo_SelectedIndexChanged as expected and but when i select cmbcolItemDescription this also fires cmbcolItemNo_SelectedIndexChanged
not cmbcolItemDescription_SelectedIndexChanged. I'm using radpanel and radloadingpanel.Initially both combobox's are workin fine.now this the problem.

And even radloading image dnt work on crome sometime but works fine on IE.

I want urgent help in this.....

<telerik:RadGrid ID="gvItems" runat="server" AutoGenerateColumns="False"  Width="100%"
                                EnableHeaderContextMenu="True" HorizontalAlign="Left" BorderWidth="0px"
                                CellSpacing="-1" Skin="Default" Height="230" EnableViewState = "true">
                                 <ClientSettings AllowColumnsReorder="true" ReorderColumnsOnClient="true">
                                    </ClientSettings>
                                <MasterTableView CellPadding="-1" CellSpacing="-1">
                                    <CommandItemSettings ExportToPdfText="Export to Pdf"></CommandItemSettings>
                                  <Columns>                                               
                                        <telerik:GridTemplateColumn HeaderStyle-Width="5px"></telerik:GridTemplateColumn>
                                        <telerik:GridTemplateColumn HeaderText="Item No" UniqueName="colItemNo" HeaderStyle-Width="160px">
                                            <ItemTemplate>
                                                <telerik:RadComboBox ID="cmbcolItemNo" runat="server" AutoPostBack="true" EnableEmbeddedSkins="false"
                                                    onselectedindexchanged="cmbcolItemNo_SelectedIndexChanged1" width="160px"
                                                    EmptyMessage="Select a ItemCode" AllowCustomText="true" Filter="StartsWith" >
                                                </telerik:RadComboBox>
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
                                        <telerik:GridTemplateColumn HeaderStyle-Width="18px" UniqueName="ColOpenItemCode">
                                            <ItemTemplate>
                                                  <asp:HyperLink NavigateUrl="javascript:OpenItemCode();" runat="server" ID="hl1OpenItemCode"
                                                                 ImageUrl="../Images/link2.png" >
                                                  </asp:HyperLink>
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
                                        <telerik:GridTemplateColumn HeaderText="Item Description" UniqueName="colItemDescription" HeaderStyle-Width="300px">
                                            <ItemTemplate>
                                                <telerik:RadComboBox ID="cmbcolItemDescription" runat="server" Width="300px" 
                                                     AutoPostBack="true" OnSelectedIndexChanged ="cmbcolItemDescription_SelectedIndexChanged"
                                                     EmptyMessage="Select a Item Description" AllowCustomText="true" Filter="StartsWith">
                                                </telerik:RadComboBox>                                              
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
                                         <telerik:GridTemplateColumn HeaderStyle-Width="18px" UniqueName="btnColOpenItemDesc">
                                            <ItemTemplate>
                                                  <asp:HyperLink NavigateUrl="javascript:OpenItemCode();" runat="server" ID="hl2OpenItemCode"
                                                                 ImageUrl="../Images/link2.png" >
                                                  </asp:HyperLink>
                                            </ItemTemplate>
                                        </telerik:GridTemplateColumn>
</Columns>
 
                                </MasterTableView>
                                <ClientSettings>
 
                                    <ClientEvents OnRowContextMenu="RowContextMenuItems" />
                                    <Scrolling AllowScroll="True" UseStaticHeaders="true" EnableVirtualScrollPaging="true"  />
                                    <Selecting AllowRowSelect="true"   />
                                     
                                </ClientSettings>
                                <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default" EnableImageSprites="True">
                                </HeaderContextMenu>
                            </telerik:RadGrid>
Tsvetina
Telerik team
 answered on 06 Jun 2011
3 answers
111 views
Hello Experts,

I'm new with Telerik and I have a problem which i'll describe bellow:

[PREFACE]

Imagine this structure:

Default.aspx
  |
  |
  |======> Modules|
                   |
                               |----> Module1|--->UserControl1.ascx
|--->UserControl2.ascx

there is some modules in this structure. i have a master page with a runat=server tagged DIV tag. whenever i want to use the appropriate module, I would just use the LoadControl() method and assign the loaded user control to the spoken DIV. for example if I want to use module "Module1":

contentPlaceHolder.Controls.Add(LoadControl("Modules/Module1/UserControl1.ascx"));

each user control has the appropriate controls and layer to handle requests.
 
[MY PROBLEM]

all the first level loadings will take place via real postback. in the first level loaded user control i have a <Telerik:RadAjaxManager> tag with the specified controls added to it and it works fine (thanx to telerik developers). the problem comes when I try to load another user control in an ajaxified DIV (for example).

When I load the specified control, I want to register new ajax settings for that dynamic loaded user control's controls collection.
BUT I CANT

any idea???

Tsvetina
Telerik team
 answered on 06 Jun 2011
4 answers
73 views
Hi All

I have exactly the same problem as in this POST but unfortunately theat solution will not work for me?
Is there any other way i can set the z index of a filter?

Many Thanks

Regards

Cush
Cush
Top achievements
Rank 1
 answered on 06 Jun 2011
0 answers
63 views
hi ,

we are using RadMenu Control ,we are facing a problem on navigation  when user clicks on menu item with Ctrl+Mouse Click it is opening the page in new window.

please tell me how restrict that opening the page in the new window.

we are attaching the sample application


thanks and Regards
Srikanth.Narala
nsrikanth 2009
Top achievements
Rank 1
 asked on 06 Jun 2011
2 answers
108 views
Hello,
I have a solution contains radgrid in witch there are also template columns.
Calling the ExportToExcel method from a button event of export falls with the error:
"Object refernce" in pre-render of grid event, because of hiding the checkbox column.
And even if i skip the per-render code by flag, the export doesnt work.
Actually the export doesnt work and my grid on screen has no checkbox anymore but "false" in the column.
I have tried hiding the column, but nothing helps.
I have spent many hours reading same problems but none of the solutions helped me.
I also tried putting standard code of exporting, like gridview (with response and htmltextwriter) but it falls with error:

יש למקם את הפקד '

ctl00_contentBody_gridInviteds_ctl00_ctl02_ctl00_ctl00' מסוג 'GridLinkButton' בתוך תג טופס עם runat=server.

 


Actually, when my grid is with no template columns, the export is working but still there is a poblem that the headers have a button in the excel sheet, even though i wrote in code "allowSorting=false"

thanks,
gila
  
gila
Top achievements
Rank 1
 answered on 06 Jun 2011
2 answers
105 views
Hello all,

I use radgrid in my website, UI is really looking good.
But I want alternate Background color in all groupwise data please help me how can I implement in code behind.

Thankx in Advance
Bony
bony patel
Top achievements
Rank 1
 answered on 06 Jun 2011
8 answers
89 views
this is the link for tab skins help
http://www.telerik.com/help/aspnet/tabstrip/tab_use%20skins.html

in that provided example links are not working
Veronica
Telerik team
 answered on 06 Jun 2011
1 answer
47 views

hi telerik

i found a bug in RadRotator

PauseOnMouseOver="true" don't work for first step of rotator scrolling!

but it work for other steps

please fix it

thanks ;-)

Niko
Telerik team
 answered on 06 Jun 2011
1 answer
99 views
Hey,

I have a Linq to Sql data object which has 2 classes called Topics & Posts.  Each topic can have multiple posts, thus, there is a one to many relationship from topic to posts.

I have the RadGrid bound to a LinqDataSource object which returns all topics, and topics can access all posts under that topic, ie topics(x).posts(y).subject etc.

In the RadGrid, for testing purposes, I am binding the first post as the subject of the topic, for example:

<telerik:GridBoundColumn DataField="posts(0).post_subject" DataType="System.String" 
    FilterControlAltText="Filter column" HeaderText="post_subject" 
    UniqueName="post_subject" SortExpression="posts.post_subject">
</telerik:GridBoundColumn>

This works fine, and displays the information in the grid correctly, but, if I do any type of sorting/filtering I get the following error:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: No property or field 'post_subject' exists in type 'EntitySet`1'

I've tried different variations of the SortExpression but still get a similar error.

Is there a way to achieve this?

Thanks
Iana Tsolova
Telerik team
 answered on 06 Jun 2011
3 answers
103 views
I have the following properties set on a RadCalendar:
MultiViewRows = 2
MultiViewColumns = 2
FastNavigationStep = 3
EnableMultiSelect = true
EnableMonthYearFastNavigation = true
RangeMinDate = new DateTime(2010, 1, 1)
RangeMaxDate = new DateTime(2012, 1, 1)

The navigation arrows in the title bar do not work in any browser. When I click on them, nothing happens. I do not see any javascript error.

If i change MultiViewRows and MultiViewColumns both back to 1, then the navigation arrows work OK.

If either MultiViewRows or MultiViewColumns are above 1, then the navigation arrows stop working. Clicking on the title and selecting the month/year from the popup panel also doesn't work.

I am using version 2010.3.1317.40.

Any help would be appreciated.
Pavel
Telerik team
 answered on 06 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
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
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
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?