Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
155 views
In IE10 when I include a LoadingPanel in either RadAjaxPanel or RadAjaxManager, a button click that should produce an AJAX callback, does nothing. If I switch to compatibility view, then the button click works properly. (I saw the sticky, but it seems to be directed at older browsers.)

Below is a simplified page that demonstrated the problem using both a LoadingPanel and RadAjaxPanel .

<asp:ScriptManager ID="ScriptManager1" runat="server" EnableTheming="True"></asp:ScriptManager>

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server"></telerik:RadAjaxLoadingPanel>

   
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" style="margin:40px;" LoadingPanelID="RadAjaxLoadingPanel1" >

    RadAjaxPanel test:

    <asp:Button id="Button1" runat="server" text="Test 1" onclick="Button1_click" />

    <br /> <br /> <asp:Label ID="timestamp1" runat="server"></asp:Label>

</telerik:RadAjaxPanel>

 

   
<
telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" RestoreOriginalRenderDelegate="false">

   <AjaxSettings>

     <telerik:AjaxSetting AjaxControlID="Button2">

       <UpdatedControls>

         <telerik:AjaxUpdatedControl ControlID="AjaxPanel" LoadingPanelID="RadAjaxLoadingPanel1" />

       </UpdatedControls>

     </telerik:AjaxSetting>

   </AjaxSettings>

</telerik:RadAjaxManager>

<asp:panel ID="AjaxPanel" runat="server" style="margin:40px;">

     RadAjaxManager test:

     <asp:Button id="Button2" runat="server" text="Test 2" onclick="Button2_click" />

     <br /><br />

     <asp:Label ID="timestamp2" runat="server"></asp:Label>

</asp:panel>

 

And here's the codebehind for the buttons:

Sub Button1_click(ByVal sender As Object, ByVal e As System.EventArgs)

   timestamp1.Text += "<br>" & Now

End Sub

Sub Button2_click(ByVal sender As Object, ByVal e As System.EventArgs)

   timestamp2.Text += "<br>" & Now

End Sub

This page works in Chrome, FF, older versions of IE, and IE10 compatibility view, but not in plain IE10. As soon as I remove the LoadingPanel, then it also works in plain IE10.

I assume I've overlooked something simple. But I can't find it. Any help would be appreciated!

Cheri
 

 

 

 

 

Deyan Enchev
Telerik team
 answered on 13 Sep 2013
2 answers
363 views
I am using Chart to create a small sparkline chart in a grid column.  Works great but I can't figure out how to get a truly transparent background on the chart.  I am setting colors thusly:

chart.PlotArea.Appearance.FillStyle.MainColor =

Color.Transparent;

 

chart.PlotArea.Appearance.FillStyle.SecondColor =

Color.Transparent;

 


But when the chart is displayed on an alternating color row the background of the chart is white, not transparent.
Venelin
Telerik team
 answered on 13 Sep 2013
4 answers
285 views
Hi,

I'm following this example http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/exporting/defaultcs.aspx#qsf-demo-source
and put the relevant code into my project.
I can't see the export buttons appearance!

I added this   
<script type="text/javascript">
        function onRequestStart(sender, args) {
            if (args.get_eventTarget().indexOf("ExportTo") >= 0) {
                args.set_enableAjax(false);
            }
        }
 </script>

and this in my Radgrid:

                <telerik:RadGrid ID="RadGrid3" runat="server" CellSpacing="0" AllowFilteringByColumn="True"
                    DataSourceID="dsMaterial" GridLines="None" AllowPaging="True" Skin="Default" AutoGenerateColumns="false" OnItemCommand="RadGrid3_ItemCommand">
                    <ClientSettings>
                        <Scrolling AllowScroll="True" UseStaticHeaders="True" />
                    </ClientSettings>
                    <ExportSettings IgnorePaging="true" OpenInNewWindow="true">
                    </ExportSettings>
                    <MasterTableView DataSourceID="dsMaterial" DataKeyNames="IDMaterial">
                        <DetailTables>
                            <telerik:GridTableView DataKeyNames="IDMaterial" DataSourceID="dsMaterialExtra" runat="server" AllowFilteringByColumn="false">
                                <ParentTableRelation>
                                    <telerik:GridRelationFields DetailKeyField="IDMaterial" MasterKeyField="IDMaterial">
                                    </telerik:GridRelationFields>
                                </ParentTableRelation>
                                <CommandItemSettings ShowExportToWordButton="true" ShowExportToExcelButton="true"
                                    ShowExportToCsvButton="true" ShowExportToPdfButton="true">
                                </CommandItemSettings>
                                <Columns>
                                    <telerik:GridBoundColumn DataField="TopArticle" HeaderText="Top Article">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="MaterialGroup" HeaderText="Material Group">
                                    </telerik:GridBoundColumn>
                                    <telerik:GridBoundColumn DataField="Replaceability" HeaderText="Replaceability">
                                    </telerik:GridBoundColumn>
                                </Columns>
                            </telerik:GridTableView>
                        </DetailTables>
                        <CommandItemSettings ExportToPdfText="Export to PDF" ShowExportToPdfButton="true" ShowExportToCsvButton="true"
                            ShowExportToExcelButton="true" ShowExportToWordButton="true" />
                        <RowIndicatorColumn FilterControlAltText="Filter RowIndicator column">
                            <HeaderStyle Width="20px" />
                        </RowIndicatorColumn>
                        <ExpandCollapseColumn FilterControlAltText="Filter ExpandColumn column" Visible="True"
                            Created="True">
                            <HeaderStyle Width="20px" />
                        </ExpandCollapseColumn>
                        <Columns>
                            <telerik:GridBoundColumn DataField="OldNumber" FilterControlAltText="Filter OldNumber column"
                                HeaderText="Old material number" SortExpression="OldNumber" UniqueName="OldNumber"
                                CurrentFilterFunction="Contains" ShowFilterIcon="false" AutoPostBackOnFilter="true">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="NewNumber" FilterControlAltText="Filter NewNumber column"
                                HeaderText="New material number" SortExpression="NewNumber" UniqueName="NewNumber"
                                CurrentFilterFunction="Contains" ShowFilterIcon="false" AutoPostBackOnFilter="true">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="TopArticle" FilterControlAltText="Filter TopArticle column"
                                HeaderText="Top article" SortExpression="TopArticle" UniqueName="TopArticle"
                                AllowFiltering="false">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="MaterialGroup" FilterControlAltText="Filter MaterialGroup column"
                                HeaderText="Group" SortExpression="MaterialGroup" UniqueName="MaterialGroup"
                                AllowFiltering="false">
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn DataField="Replaceability" FilterControlAltText="Filter Replaceability column"
                                HeaderText="Replaceability" SortExpression="Replaceability" UniqueName="Replaceability"
                                AllowFiltering="false">
                            </telerik:GridBoundColumn>
                        </Columns>
                        <EditFormSettings>
                            <EditColumn FilterControlAltText="Filter EditCommandColumn column">
                            </EditColumn>
                        </EditFormSettings>
                        <PagerStyle PageSizeControlType="RadComboBox" />
                    </MasterTableView>
                    <PagerStyle PageSizeControlType="RadComboBox" />
                    <FilterMenu EnableImageSprites="False">
                    </FilterMenu>
                </telerik:RadGrid>

Code behind:

        protected void RadGrid3_ItemCommand(object sender, GridCommandEventArgs e)
        {
            if (e.CommandName == Telerik.Web.UI.RadGrid.ExportToExcelCommandName ||
                e.CommandName == Telerik.Web.UI.RadGrid.ExportToWordCommandName ||
                e.CommandName == Telerik.Web.UI.RadGrid.ExportToCsvCommandName ||
                e.CommandName == Telerik.Web.UI.RadGrid.ExportToPdfCommandName)
            {
                ConfigureExport();
            }
        }

        public void ConfigureExport()
        {
            //Do some further config here
        }



What is missing?

Cheers,
Per
Per
Top achievements
Rank 1
 answered on 13 Sep 2013
4 answers
246 views
QR
Hi,
I've tested your QR Code Generator.
If i set an ECI Encoding, the QR Code doesn't work on Windows Phone with standard bing QR Code Scanner. If i set ECI Encoding to None all works fine. On Android or IOS Devices there aren't any problems.
Windows Phone is supporting different Encoding Types. I testet it on http://zxing.appspot.com/generator/ and this is working fine (UTF-8, or ISO-8859-1).
Any idea why this is not working?

Is it also possible that you implement UTF-8 encoding?

BR

Marin
Telerik team
 answered on 13 Sep 2013
1 answer
258 views
Hi.

I having some troubles with the horizontal scrolling in IE 11 when using static headers (Column headers does not scroll but the grid content do). 
Everything works in IE 10, Chrome, Firefox etc. but IE 11 does not handle it correctly.
But since IE 11 is still not publicly available yet (Running Win 8.1 RTM from MSDN subscription), is there any known problems with RadGrid on IE 11 that you are aware of and that will be fixed in upcoming Telerik releases?

BR
Johan
Maria Ilieva
Telerik team
 answered on 13 Sep 2013
9 answers
199 views
Hi

I'm trying to add a chart title and show phase line for each series in a telerik chart. How do i do this?

I'm attaching a sample chart.

Thanks for your help!

Vasu
Vasu
Top achievements
Rank 1
 answered on 13 Sep 2013
2 answers
97 views

i have a radtilelist with the id of "RadTileList2".  the name of the tile is "Home" and i would like to set the title text server side.
i believe i have to find the tile first like so? 


RadTextTile tile = RadTileList2.GetTileByName("Home");
        tile.Text = "tree";
Cayetano Landeros
Top achievements
Rank 1
 answered on 13 Sep 2013
1 answer
79 views
There is a RadPanelBar with a number of RadPanelItems on the page.
I have setup all the properties using the smart tag and everything inside of the RadPanelBar itself looks completely fine.

However, when I open the RadAJAXManager and try to edit items through its smart tag, all of the items listed under the RadPanelBar are listed as "i0", i1" and "i2", ect.
(Attached is how I currently see the two screens)

Is there anyway to change how the names show up in the RadAJAXManager?  I would love to be able to view the items in the RadAJAXManager similar to how they are displayed in the RadPanelBar's Item Editor.


Thanks
Maria Ilieva
Telerik team
 answered on 13 Sep 2013
3 answers
170 views
So I recently updated to 2013.2.717 from 2013.2.611 in order to fix an issues with the RadMenus opening in the wrong direction when a RadDropDownList was on the page. While this did fix my issue, it created a far worse one! I have a grid that is using the OnNeedDataSource event. I can see that the server side code is being run, and my DataSource is being set appropriately, however the rows are never rendered?!?! This works 100% in 611, but something changed, and using 717 the grid will just not refresh. Can anyone give me some insight as to what changed that might have caused this to happen.

P.S. I tried the latest internal build 2013.2.806, but it did not remedy the problem.
Milena
Telerik team
 answered on 13 Sep 2013
1 answer
335 views
I need to be able to save the persistence data to a custom directory, 
other than the default: ~\AppData

RadPersistenceManager1.CustomLocation = ConfigurationManager.AppSettings["UserPersistenceData"];
RadPersistenceManager1.StorageProviderKey = SessionID.Value;        
RadPersistenceManager1.SaveState();
Peter Filipov
Telerik team
 answered on 13 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?