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

maybe i misunderstood the radajaxloadingpanel control... So i try to explain my request.

On my Site i have a Button who opens a RadWindow (like this KreditberechnungErgebnis.OpenerElementID = lbBerechnen.ClientID).
So it does a Postback and i do something code behind.

At this Point i just want to bridge over the Postback for my Users, with the radajaxloadingpanel.
I don't want to reload any Controll on my Site.

My Code look like this:

<telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">
    <script type="text/javascript">
        var currentLoadingPanel = null;
        var currentUpdatedControl = null;
        function RequestStart(sender, args) {
            currentLoadingPanel = $find("<%= RadAjaxLoadingPanel1.ClientID %>");
 
            if (args.get_eventTarget() == "<%= lbBerechnen.UniqueID%>") {
                currentUpdatedControl = "<%= tabBearbeitung.ClientID%>";
            }
            //show the loading panel over the updated control
            currentLoadingPanel.show(currentUpdatedControl);
        }
        function ResponseEnd() {
            //hide the loading panel and clean up the global variables
            if (currentLoadingPanel != null)
                currentLoadingPanel.hide(currentUpdatedControl);
            currentUpdatedControl = null;
            currentLoadingPanel = null;
        }
    </script>
</telerik:RadCodeBlock>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="lbBerechnen">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="tabBearbeitung" LoadingPanelID="RadAjaxLoadingPanel1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
    <ClientEvents OnRequestStart="RequestStart" OnResponseEnd="ResponseEnd" />
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">
</telerik:RadAjaxLoadingPanel>

<asp:LinkButton runat="server" Width="100px" ID="lbBerechnen" CssClass="button-theme">
            <span class="span_outer">
                <span class="span_right">
                    <span class="span_left">
                        <span style="width: 92px;" class="span_inner">Berechnen</span>
                    </span>
                </span>
            </span>
    </asp:LinkButton>


I actually don't want this:

currentUpdatedControl = "<%= tabBearbeitung.ClientID%>";

BTW, it does not work like anyway. :)

Sorry for my bad Englich, i hope you understand me. If not i will try to explain it again.

Thank you!
Daniel
Konstantin Dikov
Telerik team
 answered on 18 Sep 2013
15 answers
549 views
I have overloaded methods and succesfully get the folders and files stored in database table. Now I`m trying to implement deleting files, but when delete first executes GetPath function which always crush the control.
What should it return, when on input I get "/Folder A/File 12", on output I have tried
null
string.Empty
"Folder A/File 12"
"/Folder A/"
"/Folder A" - in this case I get message that there are no permissions?
"/Folder A/File 12/"

Of course none of this locations exist physically, they reflect data in my table.

Marin Bratanov
Telerik team
 answered on 18 Sep 2013
1 answer
91 views
Dears , 
          i`m useing ASP MVC2 , and i have a problem with sorting RadGridView , i enable sorting like the documentation , but when i sort the column , no thing happened!!!

can any one help me in this issue?!
Eyup
Telerik team
 answered on 18 Sep 2013
1 answer
75 views
Dears, 
          I have a problem while enabling filtering grid property , the filtering portion appeared but with no function
when i typed some text and press filter button , no thing happened !!!
i`m using ASP MVC 2  
Eyup
Telerik team
 answered on 18 Sep 2013
1 answer
729 views
Hi,
I have a telerik:GridButtonColumn in my Radgrid, I want to open a window when user click the button in view mode.
And I have some value to pass to the new window.

How can I achieve this?
Another request is the new window should not open a new page, but open a div section in the current page.
Any suggestions?

Thanks
Eyup
Telerik team
 answered on 18 Sep 2013
2 answers
111 views
I am using RadFileExplorer which looks good. But users also want to copy the path of the uploaded file. Is there any easy way? For example, right click and Copy Path.
ABC
Top achievements
Rank 1
 answered on 18 Sep 2013
3 answers
148 views

Hi,

   How to get the row index from text changed event for a text box which is placed inside the edit item template in batch edit grid.?
Konstantin Dikov
Telerik team
 answered on 18 Sep 2013
1 answer
118 views
Dears ,
           when i enabled filtering to my Grid View , the filtering criteria appeared but with no function,,,when i entered some text and pressed enter no thing done !! , i`m using ASP MVC 2

here is my GridView

  <telerik:RadGrid CssClass="paper-table table table-paper table-striped table-sortable table-bordered"
                ID="RadGrid1" runat="server" CellSpacing="0" DataSourceID="SqlDataSource1" EnableLinqExpressions="False"
                ShowStatusBar="True" GridLines="None" AllowSorting="True" AllowFilteringByColumn="True"
                EnableAjax="true" BorderStyle="Solid" BorderWidth="1px" AllowPaging="True" OnItemDataBound="RadGrid1_ItemDataBound"
                OnNeedDataSource="RadGrid1_NeedDataSource">
                
                <AlternatingItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                <MasterTableView DataSourceID="SqlDataSource1" HierarchyLoadMode="Client" AutoGenerateColumns="False"
                    AllowFilteringByColumn="true" 
                    GroupLoadMode="Client" 
                    DataKeyNames="CardId"
                    AllowSorting="true">
                    <DetailTables >
                        
                        <telerik:GridTableView  DataSourceID="SqlDataSource2" BorderColor="Black" DataKeyNames="FK_Card"
                            BorderStyle="Solid" GridLines="Both" AllowFilteringByColumn="false" HierarchyDefaultExpanded="True">
                            
                            <ParentTableRelation>
                                <telerik:GridRelationFields DetailKeyField="CardId" MasterKeyField="CardId" />
                            </ParentTableRelation>


                            <CommandItemSettings ExportToPdfText="Export to PDF" />
                            <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column" Visible="True">
                                <HeaderStyle Width="20px" />
                            </RowIndicatorColumn>
                            <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True">
                                <HeaderStyle Width="20px" />
                            </ExpandCollapseColumn>
                            <EditFormSettings>
                                <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                                </EditColumn>
                            </EditFormSettings>
                            <ItemStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                            <AlternatingItemStyle HorizontalAlign="Center" VerticalAlign="Top" />
                            <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                        </telerik:GridTableView>
                    </DetailTables>
                    <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                    <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
                        <HeaderStyle Width="20px"></HeaderStyle>
                    </RowIndicatorColumn>
                    <ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
                        <HeaderStyle Width="20px"></HeaderStyle>
                    </ExpandCollapseColumn>
                    <Columns>
                        <telerik:GridTemplateColumn UniqueName="TemplateColumn" HeaderText="#" AllowFiltering="false">
                            <ItemTemplate>
                                <asp:Label ID="numberLabel" runat="server" Width="30px" />
                            </ItemTemplate>
                            <HeaderStyle Width="30px" />
                        </telerik:GridTemplateColumn>
                        <telerik:GridBoundColumn DataField="CardNo" FilterControlAltText="Filter CardNo column"
                            HeaderText="Card id" SortExpression="CardNo" UniqueName="CardNo" AllowFiltering="false">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="Status_Description" FilterControlAltText="Filter Status_Description column"
                            HeaderText="Status" SortExpression="Status_Description" UniqueName="Status_Description"  AllowFiltering="true"

                            AutoPostBackOnFilter="true" CurrentFilterFunction="Contains">
                        
                        
                        </telerik:GridBoundColumn>
                        
                    </Columns>
                    <EditFormSettings>
                        <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                        </EditColumn>
                    </EditFormSettings>
                    <ItemStyle BackColor="Transparent" BorderColor="Black" BorderStyle="Solid" HorizontalAlign="Center"
                        VerticalAlign="Middle" />
                    <HeaderStyle HorizontalAlign="Center" VerticalAlign="Middle" />
                </MasterTableView>
                <HeaderStyle BorderColor="Black" BorderStyle="Solid" BorderWidth="1px" HorizontalAlign="Center"
                    VerticalAlign="Middle" />
                <PagerStyle PageButtonCount="15" EnableSEOPaging="True" />
                <FilterMenu EnableImageSprites="False">
                </FilterMenu>
            </telerik:RadGrid>


Deyan Enchev
Telerik team
 answered on 18 Sep 2013
1 answer
197 views
Hi Team,

Recently we updated the telerik control with latest Telerik control to support IE 10, but after library updated we are getting issue that whenever we do mouse over on Combo Box ,it  gets flicker.
Could you please help to rid this issue?
Magdalena
Telerik team
 answered on 18 Sep 2013
1 answer
209 views
I'm encountering a problem with the RadDropDownTree control used in conjunction with a RequiredFieldValidatorControl.

Unchecking all the selected items and then checking/unchecking individual items one at a time will eventually cause the checkboxes to function inversely (i.e. unchecking an item will show it as checked at the top of the control and vice-versa).  There doesn't seem to be any pattern as to how many items you check/uncheck individually before this problem becomes apparent (although in testing I have found it to be usually between 2 - 5 items).

I've tracked the problem down to the 'SetFocusOnError' property within the RequiredFieldValidator - if this is set to true, the issue is exhibited, setting it to false means that my control works as expected, however it also means that focus cannot be set to the control in the event that the validation fails.

Could you let me know if a fix for this is likely?

I can supply a sample project, which should demonstrate the issue, if required.

Thanks,
Allan
Peter Filipov
Telerik team
 answered on 18 Sep 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?