Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
198 views
Hi,
i want to change table size like tnyMCE. 
Please add attributes to change size width mouse event
tinymce
Vessy
Telerik team
 answered on 20 May 2013
1 answer
193 views
I'm having an issue spacing out labels for a pie chart. I've tried playing with label margins and positions with no effect. See attached Img. The problem is when two or more very small slices of the pie are next to each other the labels overlap. How can I organize or space out these labels?

Thanks for any help.
Rosko
Telerik team
 answered on 20 May 2013
1 answer
98 views
Hi Telerik,

I am working on a project that converts telerik WPF Spline RadChart to telerik ASP.NET Spline RadChart. 

1. The first issue is my asp.net chart is not smooth linke WPF version. How can I improve it (note that I am almost using WPF code).
- Here is my WPF chart: http://screencast.com/t/Xz1cpqdwQKJE
- And my ASP.NET chart: http://screencast.com/t/sbKenlQS

2. The second question is are there any solutions for me to make the animation like WPF version for ASP.NET version?

Thanks
Petar Kirov
Telerik team
 answered on 20 May 2013
1 answer
69 views

I have added this "AsyncPostBackTimeout="5000" to ScriptManager because Group  Expand is not Working and throwing "Sys.WebForms.PageRequestManagerTimeoutException: Sys.WebForms.PageRequestManagerTimeoutException"


  <telerik:RadGrid ID="RadgrdMembers" ShowGroupPanel="false" AutoGenerateColumns="false"
            GridLines="Both" AllowSorting="true" BorderStyle="None" runat="server" AllowPaging="false"
            OnItemDataBound="RadgrdMembers_ItemDataBound" OnNeedDataSource="RadgrdRsult_NeedDataSource"
            GroupingSettings-RetainGroupFootersVisibility="true">
            <ClientSettings AllowDragToGroup="false">
                <Scrolling AllowScroll="True" UseStaticHeaders="true" SaveScrollPosition="true">
                </Scrolling>
            </ClientSettings>
            <MasterTableView ShowGroupFooter="true" GroupsDefaultExpanded="false">
                <HeaderStyle Wrap="true" />
                <ItemStyle Wrap="true" />
                <AlternatingItemStyle Wrap="true" />
                <PagerStyle Mode="NextPrevAndNumeric" PageSizeLabelText="Records Per Page :" PageSizes="{25, 50, 100, 200,250}" />
                <Columns>
                    <telerik:GridBoundColumn DataField="Title" HeaderText="Title" />
                    <telerik:GridBoundColumn DataField="WholesalerID" HeaderText="Wholesaler" />
                    <telerik:GridBoundColumn DataField="Frozen" HeaderText="Frozen" />
                    <telerik:GridBoundColumn DataField="CostToStore" HeaderText="Cost" />
                    <telerik:GridBoundColumn DataField="SuggRetail" HeaderText="Retail" />
                    <telerik:GridBoundColumn DataField="Mon" HeaderText="Mon Base" />
                    <telerik:GridBoundColumn DataField="Tue" HeaderText="Tue Base" />
                    <telerik:GridBoundColumn DataField="Wed" HeaderText="Wed Base" />
                    <telerik:GridBoundColumn DataField="Thur" HeaderText="Thur Base" />
                    <telerik:GridBoundColumn DataField="Fri" HeaderText="Fri Base" />
                    <telerik:GridBoundColumn DataField="Sat" HeaderText="Sat Base" />
                    <telerik:GridBoundColumn DataField="Sun" HeaderText="Sun Base" />
                </Columns>
                <GroupByExpressions>
                    <telerik:GridGroupByExpression>
                        <GroupByFields>
                            <telerik:GridGroupByField FieldName="StoreInfo" SortOrder="None"></telerik:GridGroupByField>
                        </GroupByFields>
                        <SelectFields>
                            <telerik:GridGroupByField FieldName="StoreInfo" HeaderText="StoreInfo" SortOrder="None">
                            </telerik:GridGroupByField>
                        </SelectFields>
                    </telerik:GridGroupByExpression>
                </GroupByExpressions>
                <NoRecordsTemplate>
                    <div class="search-noresults-container">
                        <asp:Image ID="imgSearchIcon" runat="server" ImageAlign="AbsMiddle" ImageUrl="~/themeimages/search_icon.png" /><br />
                        <br />
                        <div class="inner-content">
                            <p>
                                <strong>No results were returned</strong></p>
                            <p class="small-text">
                                Please verify the search criteria and try again</p>
                        </div>
                    </div>
                </NoRecordsTemplate>
            </MasterTableView>
            <GroupingSettings ShowUnGroupButton="false"></GroupingSettings>
        </telerik:RadGrid>

"warningmessage.png"  pops up constantly in FF When i click on Expand

Please Report the error




Eyup
Telerik team
 answered on 20 May 2013
2 answers
377 views
I have implemented a FileExplorer on my site that works great for uploading files.  I would like to allow users to download files to local computers.  I have followed the demo located here:
http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/applicationscenarios/filteranddownloadfiles/defaultvb.aspx?#qsf-demo-source


I think that I have most of the code without errors.  

Here is the question:
What do I put in the code behind on the Handler.ashx file??

I did not see a resource/related files on the demo for the Handler.ashx
Rusty
Top achievements
Rank 1
 answered on 20 May 2013
2 answers
82 views

Right now, I have two GridBoundColumns pulling OfficePhone and Extension from a SQL database.

<telerik:GridBoundColumn HeaderText="Phone" DataField="OfficePhone" UniqueName="OfficePhone">
</
telerik:GridBoundColumn>
<telerik:GridBoundColumn HeaderText="Ext" DataField="Extension" UniqueName="Extension">
</
telerik:GridBoundColumn>

I would like to combine the two columns into one, into something like this:

<telerik:GridCalculatedColumn HeaderText="Phone" UniqueName="Phone" DataType="System.String" DataFields="OfficePhone, Extension" Expression="{0} + ' ext. ' + {1})">
</
telerik:GridCalculatedColumn>

but extension is usually null or "", causing most of the cells to go blank.

Is there a way to set the expression programmatically, depending on whether there is a value for extension?
Andrey
Telerik team
 answered on 20 May 2013
5 answers
103 views
Telerik Embedded skins are not apply for radcontrols in IE. For that Some expert told to add a Radstylesheetmanager to combine stylesheet request into single one.

if i add radstylesheetmanager like this

 string telerikAssembly= typeof(RadGrid).Assembly.FullName;
                    RadStyleSheetManager stylesheet = new RadStyleSheetManager();
                    
                    StyleSheetReference css1 = new StyleSheetReference();
                    css1.Assembly = telerikAssembly;
                    css1.Name = "Telerik.Web.UI.Skins.Telerik.Grid.Telerik.css";
                    stylesheet.StyleSheets.Add(css1);

                    StyleSheetReference css2 = new StyleSheetReference();
                    css2.Assembly = telerikAssembly;
                    css2.Name = "Telerik.Web.UI.Skins.Office2007.Grid.Office2007.css";
                    stylesheet.StyleSheets.Add(css2);
                    
                    StyleSheetReference css3 = new StyleSheetReference();
                    css3.Assembly = telerikAssembly;
                    css3.Name = "Telerik.Web.UI.Skins.Black.Grid.Black.css";
                    stylesheet.StyleSheets.Add(css3);
                    this.Page.Header.Controls.Add(stylesheet);



it doesn't work.
how can i solve this issue please help me to solve this issue.



Venelin
Telerik team
 answered on 20 May 2013
8 answers
785 views
Hi telerik team!
I have a problem with radajaxmanager, this is my scenario:
I have a default page and user control. On default page I have  a radajaxmanager and on my usercontrol a radajaxmanagerproxy.
On my user control I have this:

<telerik:RadAjaxManagerProxy ID="AjaxManagerProxyTools" runat="server"><br><AjaxSettings><br><telerik:AjaxSetting AjaxControlID="Timer"><br><UpdatedControls><br><telerik:AjaxUpdatedControl ControlID="PanelTools" /><br></UpdatedControls><br></telerik:AjaxSetting><br><telerik:AjaxSetting AjaxControlID="LinkButton"><br><UpdatedControls><br><telerik:AjaxUpdatedControl ControlID="PanelTools" /><br></UpdatedControls><br></telerik:AjaxSetting><br></AjaxSettings><br></telerik:RadAjaxManagerProxy>
 In my markup also have this:

<asp:Timer ID="Timer" runat="server" Interval="10000" OnTick="Timer_Tick" Enabled="false"></asp:Timer><br><asp:Panel ID="PanelTools" runat="server" ><br><div runat="server"><br><asp:LinkButton ID="LinkButton" runat="server" CausesValidation="false" onmouseover="OnClientMouseOver(this)" onmouseout="OnClientMouseOut(this)"><br></asp:LinkButton><br></div><br></asp:Panel>

<script type="text/javascript"><br><span style="font-size: 11px; line-height: 1.4;">    function OnClientMouseOver(sender, eventArgs) {</span><br>        var Open = '<%= this.IsOpen %>';<br>        if (Open == false) {<br>            __doPostBack('Open');<br>        }<br>    }<br><br>    function OnClientMouseOut(sender, eventArgs) {<br>        __doPostBack('Close');<br>    }<br><br></script>


But is doing a full postback to all the page. How could I solve this???
Thanks!!!!
Viktor Tachev
Telerik team
 answered on 20 May 2013
1 answer
92 views
Hello everybody,

I need to find a way to have a preview of the file like img files.
To explain better.
I had developed a new innovative CMS and one of the feature inside it, is the option to export and import CSS style and functionality of every object in the page.
For example if I have a menu very cool, and I want to export the graphic style and the functionality (template) into my library, I just follow this sequence:
  1. Take a snapshot of the object (menu or any other things)
  2. Go to the style Editor (it's a CSS realtime editor like the classic toolbar of Word. You can edit any object's CSS just using mouse)
  3. Link the snapshot to the class CSS of the object
  4. Go to the export manager
  5. Select the object I want export (export in .zip file) and click ok

The problem is when I want to import a template of the Menu or the others objects.
Because in the FileExplorer, all the .zip file has the same icon.
I want to change the icon like the .jpg or .png files.
If I assign a single custom icon to any single .zip of the templates from windows or mac, is it possible to FileExplorer show the custom icon?

May be I have to find the CSS file of the img extension and use the same logic to overrite the CSS file of the .zip extension.

Thank you

Vessy
Telerik team
 answered on 20 May 2013
1 answer
335 views
Hi ,

In the protected void RadGrid1_UpdateCommand  after editing values, when i extract values using 
e.Item.OwnerTableView.ExtractValuesFromItem(newValues, editedItem);

newValues hashtable is filled with oldValues not with edited values.I am using GridEditableItem only.



Please help me. 

Thanks
Swarna.

Shinu
Top achievements
Rank 2
 answered on 20 May 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?