Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
375 views
Hi, I have a RadAjaxLoadingPanel which automatically fires when my radgrid needs a data source. Great.
However, in my NeedDataSource event, I have a condition set to tell the code that it might not need to rebind.

If multiviewContacts.GetActiveView.ID = "viewContactSelect" Then
     'Bind the radgrid
else
    'Don't bother binding
end if

When my code doesn't need to rebind, the Loading Panel remains on the screen.

Surely, there must be a simple way of removing the loading panel from server side, code-behind.  I just can't find it !


I've looked at the demo http://www.telerik.com/help/aspnet-ajax/ajax-show-hide-loadingpanel.html but I don't want to have to add 25 more lines of javascript to my page just to hide the loading panel.

...and even then - I have the issue of calling that javascript from the code behind.


Cheers,
Scott
Tsvetina
Telerik team
 answered on 23 Feb 2012
3 answers
138 views

http://www.telerik.com/community/forums/aspnet-ajax/async-upload/shorten-display-name.aspx

you guys offered a solution for shortening one filename in the above thread using the OnClientFileSelect event
Is there something that will do the same thing for multiple files?  OnClientFilesSelected

So if a user selects multiple files with long names, I can display

veryveryverylong... [x remove]
anotheryverylong... [x remove]

I tried to get some documentation from http://www.telerik.com/help/aspnet-ajax/asyncupload-onclientfilesselected.html to figure it out but there isn't much info here. Are there other sources of info for these events?

thanks...Steve

Bozhidar
Telerik team
 answered on 23 Feb 2012
2 answers
153 views
I am referring to the following link for adding nodes on the client side in the treeview.
http://www.telerik.com/community/code-library/aspnet-ajax/treeview/radtreeview-s-addnodesto-method-as-best-performing-solution-for-creating-new-or-moving-existing-nodes-on-the-client-side.aspx 

Is it also possible to add the nodes at level 0, i.e. directly under the treeview instead of a node. I tried this approach, it worked for adding nodes under a node, but not under treeview. Can you please let me know where I might be going wrong.
mirang
Top achievements
Rank 1
 answered on 23 Feb 2012
1 answer
54 views
Hi,

We have been encountering a rendering problem on the scheduler controls via ipad
's safari browser. its look like javascript issue.
Please go through the attachments for detail.



Thanks,
-Shames
Peter
Telerik team
 answered on 23 Feb 2012
9 answers
583 views
combobox SelectedIndexChanged event not fired intially when i ajaxify that control for showing progressbar ,but it fired when click another combobox in same page(after progressbar stoped) so plz help me


thanks in advance
Ivana
Telerik team
 answered on 23 Feb 2012
9 answers
616 views
Sometimes in the documentation I see VS 2008 and VWD used together - and supported equally. However, I attempted to install the VS Extenstions, and while the installer (.msi) ran and didn't report any errors, there aren't any Telerik specific menu items, context menus etc (as seen in the VS Extensions Video). Is this a limitation of VWD?

Edit: I guess I should add I'm using VWD 2008 (Express Edition) SP1
(Version 9.0.30729.1 SP)
Petar
Telerik team
 answered on 23 Feb 2012
5 answers
162 views

When the following is set for a grid:

<ClientSettings EnablePostBackOnRowClick="true">

       <Selecting AllowRowSelect="true" />

</ClientSettings>

and an image is in a grid cell, clicking on the image does nothing.  Clicking in the grid cell outside of the image causes the row selection and postback as desired.

The image is not a button, it is just an image that represents a visual cue about the row of data for the user, in this case a picture of a lock.

The workaround we found in IE was to set the onclick of the image to onclick='this.parentElement.click();'

This causes the desired postback and row selection.

The problem?  We noticed that in Chrome this approach doesn't work.  I simply need  a way of causing the built in row selection and postback just as if the user clicked in the surrounding td of the image.

I can get the desired behavior in Chrome by setting  the image css pointer-events property to none.
Unfortunately, this disables all pointer behavior including tooltip popups.

Pavlina
Telerik team
 answered on 23 Feb 2012
5 answers
118 views
Hi Everyone,

I tried setting "Html" attribute of "RadHtmlField" to set some default html content when the page layout loads in SharePoint. However, this default value was not set as expected. Following is the code from page layout,

<telerik:RadHtmlField id="myfieldid" FieldName="myfieldid" runat="server" Html="&lt;h1&gt;my default content &lt;/h1&gt;" >
 </telerik:RadHtmlField>

Any help to set default content for this field is very much appreciated.

Thanks & Regards,
Amal
Stanimir
Telerik team
 answered on 23 Feb 2012
3 answers
288 views
when using rad editor in browsers like safari and google chrome, I am not able to change the font size. but when i select the text and changing the size, the font size will change.
the version of telerik i am using is 2009.3.1314.35, the version of safari is safari 5.1.2 and the version of google chrome is 4.0.211.7
my code is shown below.


<telerik:RadEditor ID = "rdtxtNotes"  runat="server"   Width="510px" >
                    <Tools >
                        <telerik:EditorToolGroup >
                        <telerik:EditorTool Name ="FontName"   ShowIcon ="true" />
                        <telerik:EditorTool Name = "RealFontSize" ShowIcon ="true" Text="10px" />
                        <telerik:EditorSeparator />
                        <telerik:EditorTool Name ="Bold" ShowIcon ="true"  />
                        <telerik:EditorTool Name ="Italic" ShowIcon ="true" />
                        <telerik:EditorTool Name ="Underline" ShowIcon ="true" />
                        <telerik:EditorSeparator />
                      
                        <telerik:EditorTool Name ="JustifyLeft" ShowIcon ="true" />
                        <telerik:EditorTool Name ="JustifyCenter" ShowIcon ="true" />
                        <telerik:EditorTool Name ="JustifyRight" ShowIcon ="true" />
                        <telerik:EditorSeparator />
                         
                        <telerik:EditorTool Name ="InsertOrderedList" ShowIcon ="true" />
                        <telerik:EditorTool Name ="InsertUnorderedList" ShowIcon ="true" />
                        <telerik:EditorTool Name ="Indent"  ShowIcon ="true" />
                        <telerik:EditorTool Name ="Outdent"  ShowIcon ="true" />
                        <telerik:EditorSeparator />
                        </telerik:EditorToolGroup>
                    </Tools>               
                    <Tools >
                          <telerik:EditorToolGroup >              
                                <telerik:EditorTool Name ="ForeColor"   ShowIcon ="true" />
                                <telerik:EditorTool Name ="BackColor" ShowIcon ="true" />
                                <telerik:EditorTool Name ="InsertParagraph"   ShowIcon ="true" />
                          </telerik:EditorToolGroup>
                    </Tools>
                </telerik:RadEditor>
Rumen
Telerik team
 answered on 23 Feb 2012
0 answers
160 views
Dear Supporter,

I'm using the RadTreeView inside the RadPanelBar to build webpart for SharePoint 2010.

Everything works fine except that users cannot expand/collapse or check/uncheck the tree view. I have enable the CheckBox for treeview.
It just doesn't happen to RadTreeView control only but also RadPanelBar which I cannot expand or collapse the bar item.
Please note that both Telerik.Web.UI and Telerik.Web.Design files are deployed to GAC.
After googling and search through some existing deploying the RadControl to SharePoint or IIS, I have summarized and get those to update in the Web.Config as following; however, there is still no luck.

Please advise which how to make the control to be expanded/collapsed or checked/unchecked based on user Mouse interaction.

Web.Config
=======================================

<SharePoint>
  <SafeControls>
 <safeControl Assembly="Telerik.Web.UI, Version=2011.1.315.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.UI" TypeName="*" Safe="True"  />
 <safeControl Assembly="Telerik.Web.UI, Version=2011.1.315.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" Namespace="Telerik.Web.Design" TypeName="*" Safe="True"  />

  </SafeControls>
</SharePoint>

<system.web>
  <httpHandlers>
 <remove verb="*" path="*.asmx" />
 <add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" />
 <add verb="*" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
 <add verb="*" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" />
 <add verb="*" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />
 <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false" />
  </httpHandlers>
</system.web>

<system.WebServer>

  <modules runAllManagedModulesForAllRequests="true">
 <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" preCondition="managedHandler" />
  </modules>

  <handlers>
 <remove name="ChartImage_axd" />
        <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
        <remove name="Telerik_Web_UI_DialogHandler_aspx" />
        <remove name="Telerik_RadUploadProgressHandler_ashx" />
 <remove name="Telerik_Web_UI_WebResource_axd" />
 <add name="ChartImage_axd" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />
        <add name="Telerik.Web.UI.SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />
        <add name="Telerik.Web.UI.DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />
        <add name="Telerik.Web.UI.RadUploadProgressHanler_ashx" path="Telerik.Web.UI.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" preCondition="integratedMode" />
        <add name="Telerik.Web.UI.WebResource_axd" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" />
  </handlers>
  <validation validateIntegrateModeConfiguration="false" />
</system.WebServer>

<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
 <dependentAssembly>
  <assemblyIdentity name="Telerik.Web.UI" publicKeyToken="121fae78165ba3d4" />
  <bindingRedirect oldVersion="1.0.0.0-x.x.x.20" newVersion="x.x.x.35" />
 </dependentAssembly>
 <dependentAssembly>
  <assemblyIdentity name="Telerik.Web.Design" publicKeyToken="121fae78165ba3d4" />
  <bindingRedirect oldVersion="1.0.0.0-x.x.x.20" newVersion="x.x.x.35" />
 </dependentAssembly>
</assemblyBinding>
=======================================

Regards,
Phyrom

phyrom
Top achievements
Rank 1
 asked on 23 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?