Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
77 views
I'm attempting to use the tabcontrol/pageview combo to serve pages from a site on a different server (same network). It doesn't seem to work correctly in Google Chrome (ver 21.0.1180.89 m) or IE9 on win7.  I've tested in IE8 on windows server 2008 and it works.

Now, the remote site is running a 3rd party application that runs in IIS and accesses data from our mainframe.  The page that serves up the responses from the application is a classic ASP page.  It's difficult for me to provide any more detail than that since I don't really know how it works.  But the behavior is this - the first "page" loads without a problem.  As soon as I try to navigate away from that entry page, I get a blank screen and the server hangs (the 3rd party server, not the web server).

I think this is a shot in the dark here since it's a very unique situation and I doubt there will be anyone familiar with it exactly but I'm hoping someone has had similar issues with using the tab/pageview controls and may have run into similar problems and could offer me a few things to try.  I'm also going to contact the software vendor to see what they can tell me.  As far as I can tell, though, it's browser-related at least somewhat which leads me to believe it may have something to do with cross-site security.

If you want more info, I can provide it.

Thanks.
dino
Top achievements
Rank 1
 answered on 10 Sep 2012
6 answers
122 views
If I have a large list of assignments or orders in my SQL database, is there a way to present the logged-in user with only those which are his or hers, by default when they land on the page?  Or, I know there IS a way... But can someone give me explicit details on how to accomplish this?

Thank you  so much.
Casey
Top achievements
Rank 1
 answered on 10 Sep 2012
5 answers
197 views
Hello
I have a Grid and I am trying to use an Image button for delete. But the Image is not being displayed. I have set enable theamiing to flase but It doesnt help. Below is the code

 

 

<telerik:RadGrid ID="NotifyGrid" runat="server" AutoGenerateColumns="False" CellSpacing="0"
                                GridLines="Horizontal" ShowStatusBar="false" ShowFooter="false" AllowPaging="True"
                                AllowFilteringByColumn="True" AllowSorting="True" 
                                EnableEmbeddedSkins="False" Skin="AlSkin" EnableTheming="False">
                                <GroupingSettings CaseSensitive="False" />
                                <ClientSettings AllowColumnsReorder="True" ReorderColumnsOnClient="True">
                                    <Resizing AllowColumnResize="True" />
                                </ClientSettings>
                                <MasterTableView UseAllDataFields="true">
                                    <CommandItemSettings ExportToPdfText="Export to PDF" />
                                    <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                                    </RowIndicatorColumn>
                                    <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column">
                                    </ExpandCollapseColumn>
                                    <Columns>
  
<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" ConfirmText=""
                                            ConfirmTitle="" ConfirmDialogType="RadWindow" UniqueName="delete_notification" 
                                            ImageUrl="Images/DeleteRedResized.png" ShowSortIcon="false" SortExpression="">
                                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Top" Width="4%" />
                                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Top" Width="4%" />
                                        </telerik:GridButtonColumn>
Thanks.
Jayesh Goyani
Top achievements
Rank 2
 answered on 10 Sep 2012
3 answers
316 views
Hello everyone.
Currently when you want to edit a row in a radgrid, press the Edit button (with GridEditCommandColumn), but this control is only to enable editing of a single row (where I pressed edit).
My question is: Is there a way to press a button outside the radgrid and enable all rows in the radgrid and not just one?
thank you very much

Layo
Top achievements
Rank 1
 answered on 10 Sep 2012
3 answers
198 views
I use RadCaptcha on a email page that does not require the user to login to the site to finish - used <allow users="*"/> in web.config for this email.aspx location.

But the rest of the pages on site need the user to login - put under secured direct.
 
When I go to the email.aspx, I can see everything on the email pages, except the RadCaptcha image.

How I resove this problem?

Thanks!

Jessie
Slav
Telerik team
 answered on 10 Sep 2012
3 answers
98 views
I have following problems with hierarchical RadGrid control:

1)When I click on some column header (in order to sort according to this column), data will sort ascending. After second click on the same column, nothing will happen!

2)When I click on expand button (in order to expand DetailTableView), the DetailTableView will expand. After second click on another one expand button, new DetailTableView will expand but the original expanded DetailTableView will contract! (but when I click on the same expand button, the expanded DetailTableView will not contract). 

Simply sorting and expanding of DetailTableViews works not correctly.

Can you please help me?

----------------------------------------------------------------------------------------------------------------------------------------------------------
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="radGrid">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="radGrid" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadGrid ID="radGrid" runat="server" AutoGenerateColumns="False" ShowStatusBar="true"
    AllowSorting="True" AllowPaging="True" ShowGroupPanel="false" PageSize="25" GridLines="Both"
    OnNeedDataSource="radGrid_NeedDataSource" OnDetailTableDataBind="radGrid_DetailTableDataBind">
    <MasterTableView DataKeyNames="OrderID" Name="Orders">
        <DetailTables>
            <telerik:GridTableView Name="Details" Width="100%" runat="server">
                <ParentTableRelation>
                    <telerik:GridRelationFields DetailKeyField="OrderID" MasterKeyField="OrderID" />
                </ParentTableRelation>
                <Columns>
                    <telerik:GridBoundColumn HeaderText="Emp. NO:" DataField="SocialSecurityNumber" HeaderButtonType="TextButton" />
                    <telerik:GridBoundColumn HeaderText="First name" DataField="FirstName" HeaderButtonType="TextButton" />
                    <telerik:GridBoundColumn HeaderText="Last name" DataField="LastName" HeaderButtonType="TextButton" />
                    <telerik:GridBoundColumn HeaderText="Home address" DataField="HomeAddress" HeaderButtonType="TextButton" />
                    <telerik:GridBoundColumn HeaderText="City" DataField="City" HeaderButtonType="TextButton" />
                    <telerik:GridBoundColumn HeaderText="Department" DataField="Department" HeaderButtonType="TextButton" />
                    <telerik:GridBoundColumn HeaderText="Type of card" DataField="CardType" HeaderButtonType="TextButton" />
                </Columns>
            </telerik:GridTableView>
        </DetailTables>
        <Columns>
            <telerik:GridBoundColumn HeaderText="Date" DataField="Date" DataFormatString="{0:dd.MM.yyyy}"
                DataType="System.DateTime" SortExpression="Date" HeaderButtonType="TextButton" />
            <telerik:GridBoundColumn HeaderText="Operation" DataField="Operation" HeaderButtonType="TextButton"
                SortExpression="Operation" />
            <telerik:GridBoundColumn HeaderText="Items / Price" DataField="Items_Price" HeaderButtonType="TextButton"
                SortExpression="Items_Price" />
            <telerik:GridBoundColumn HeaderText="Transaction owner" DataField="TransactionOwner"
                HeaderButtonType="TextButton" SortExpression="TransactionOwner" />
            <telerik:GridBoundColumn HeaderText="State" DataField="State" HeaderButtonType="TextButton"
                SortExpression="State" />
        </Columns>
    </MasterTableView>
</telerik:RadGrid>
Pavlina
Telerik team
 answered on 10 Sep 2012
1 answer
96 views


See The form attachment ,
I have used Rad filter  ,
They Choose one data field and go select the near drop down today and then save ,
They are not put any entry on Rad filter,
It's Save  properly and i can edit this see the attachment error message this kind of error message shows,
after that nothing has opened ,
If i not select the dropdown it self same error come.

Thanks Advance,
Mohamed.
Tsvetina
Telerik team
 answered on 10 Sep 2012
8 answers
741 views

Hi,

Environment: VS 2008 SP1, RadControls for ASP.NET AJAX Q1 2010 NET35.

I have a Radgrid with 2 Independant Detail Tables. My questions are:

1) Is it possible to Hide/Show Detail Tables from Master Table Edit forms Link Button Onclick Events (LinkButton5 and LinkButton6 are in this page)?

2) In Initial Page load event, show Detail Table (Name="Detail") by default but hide Detail Table1 (Name="Detail1") .

3) Can the currently active (unhiden) Detail Table name be displayed in a Master Table label after link buttons onclick event as well as on initial page load event?
 

Below are my codes. But Onlclick events of Link Buttons are not working.

 

Thanks

gc_0620

______________ 

<%-- Beginning Block of Rad Grid --%>                              
<telerik:RadGrid ID="RadGrid1" runat="server">
  
<%-- Beginning Block of Master Table --%>                
<MasterTableView DataKeyNames="PersonTableID" Name="Master" Font-Size="11px" DataSourceID="SqlDataSource3"
                    AllowFilteringByColumn="true" CommandItemDisplay="Top">
                     <RowIndicatorColumn>
                        <HeaderStyle Width="20px"></HeaderStyle>
                    </RowIndicatorColumn>
                      
                        <%-- Beginning Block of Detail Table --%>                
                    <DetailTables>
                        <telerik:GridTableView runat="server" DataSourceID="SqlDataSource4" DataKeyNames="JobPersonID"
                            ShowHeader="true" Width="100%" Name="Detail" AllowAutomaticDeletes="true" ClientDataKeyNames "JobPersonID"
                              
                           
                            <ParentTableRelation>
                                <telerik:GridRelationFields DetailKeyField="PersonId" MasterKeyField="PersonTableID" />
                            </ParentTableRelation>
                              
                            <Columns>
                             '''
                             '''
                  
                            </Columns>
                            <EditFormSettings EditFormType="Template" FormCaptionStyle-CssClass="form-controls">
                                <FormCaptionStyle CssClass="form-controls"></FormCaptionStyle>
                                <FormTemplate>
                                    '''
                                    '''
                                </FormTemplate>
                            </EditFormSettings>
                        </telerik:GridTableView>
                         
                    </DetailTables>   
                    <%-- Ending Block of Detail Table --%>  
  
                    <%-- Beginning Block of Detail Table1 --%>                              
                   <DetailTables>
                        <telerik:GridTableView runat="server" DataSourceID="SqlDataSource5" DataKeyNames="JobPersonID"
                            ShowHeader="true" Width="100%" Name="Detail1" AllowAutomaticDeletes="true" ClientDataKeyNames "JobPerson_SecondaryID"
                              
                           
                            <ParentTableRelation>
                                <telerik:GridRelationFields DetailKeyField="PersonId" MasterKeyField="PersonTableID" />
                            </ParentTableRelation>
                              
                              
                            <Columns>
                             '''
                             '''
                                 
                            </Columns>
                            <EditFormSettings EditFormType="Template" FormCaptionStyle-CssClass="form-controls">
                                <FormCaptionStyle CssClass="form-controls"></FormCaptionStyle>
                                <FormTemplate>
                                    '''
                                    '''
                                </FormTemplate>
                            </EditFormSettings>
                        </telerik:GridTableView>
                         
                    </DetailTables>
                    <%-- Ending Block of Detail Table1 --%>                               
                      
                    <ExpandCollapseColumn Visible="True">
                    </ExpandCollapseColumn>
                    <Columns>
                    '''
                    '''
                    </Columns>
            <%-- Beginning Block of Master Table Edit Forms --%>                              
                    <EditFormSettings EditFormType="Template">
                        <FormTemplate>
                            <table id="Table2" class="form-controls" cellspacing="2" cellpadding="1" width="100%"
                                border="0" rules="none" style="border-collapse: collapse;background:#DCDCDC;">
                                <tr>
                                      
                                      
                                    <td>
                                    Show Hide Detail Forms:
                                    </td>
                                   <td>
                                           
                                         <asp:LinkButton ID="LinkButton5" onclick = "HideDetail_ShowDetail1_Click"  runat="server">Hide Detail but Show Detail1</asp:LinkButton>
                                          <asp:LinkButton ID="LinkButton5" onclick = "HideDetail1_ShowDetail_Click"  runat="server">Hide Detail1 but Show Detail</asp:LinkButton>
  
  
  
                                    </td>
                                   </tr>
                            </table>
                        </FormTemplate>
                    </EditFormSettings>
                    <%-- Ending Block of Master Table Edit Forms --%>                              
                </MasterTableView>
            <%-- Ending Block of Master Table --%>                              
                <ClientSettings>
                    <Selecting AllowRowSelect="True" />
                </ClientSettings>
            </telerik:RadGrid>
<%-- Ending Block of Rad Grid --%>                              
___________
  
protected void HideDetail_ShowDetail1_Click(object sender, System.EventArgs e)
    {
         
        RadGrid1.MasterTableView.DetailTables[0].Visible = false;
        RadGrid1.MasterTableView.DetailTables[1].Visible = true;
    }
  
protected void HideDetail1_ShowDetail_Click(object sender, System.EventArgs e)
    {
         
        RadGrid1.MasterTableView.DetailTables[1].Visible = false;
        RadGrid1.MasterTableView.DetailTables[0].Visible = true;
    }

 

Jittu
Top achievements
Rank 1
 answered on 10 Sep 2012
2 answers
105 views
I went by this example http://demos.telerik.com/aspnet-ajax/ajax/examples/common/ajaxifytimer/defaultcs.aspx to create a timer that would automatically refresh my radgrid. What I wanting to do is not have it update if the user is in the middle of updating a row. What is the best way to go about doing this?

Also, is there a way make it so that the page isn't entirely rerendered? If I used an updatepanel, only the content inside was repainted. It looks like the entire page is getting rerendered. 
DuelingCats
Top achievements
Rank 2
 answered on 10 Sep 2012
3 answers
502 views
Hi,

We are using a RadDatePicker in our application, we just want to handle the RadDatePicker enter key press event . We have used  DateInput-ClientEvents-OnKeyPress but this method does not fire on enter key press , so we tried with onkeydown event but this event does not return the values entered in the raddatepicker textbox (if date is manually entered ) also the Telerik in built Date validations are also not working when onkeydown  method is used. We just want to bind a grid on Datedatepicked textbox enter key press event. Please help us in this.


Thanks,
Eyup
Telerik team
 answered on 10 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?