Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
177 views
 I have a cart radbutton with a numeric total that is it's own control that sits on Default.aspx. The numeric total is called by a server side method.

I have a radwindow control that has the ability to add items to that cart.

Onclientclose of the radwindow, I need to find a way to refresh or postback that radbutton control to update my total cart items.

I DO NOT want the entire page to postback.

How can I accomplish this?
Geoff
Top achievements
Rank 1
 answered on 14 Nov 2012
3 answers
115 views
Hi,

I have a grid which has one gridtemplate column in which i have a link button. when clicked on this link button i am binding another grid. Now when i am exporting the data to pdf/excel i am not getting any data from the grid template column which has this link button. I need to have that as a link button. So can you please advice me on this? 

Thanks,
Swamy.
Daniel
Telerik team
 answered on 14 Nov 2012
7 answers
181 views
All the other controls have EmptyMessage but I cannot find one in RadEditor...
Rumen
Telerik team
 answered on 14 Nov 2012
4 answers
455 views

Hi Team,

I am getting the following error while I open the page to edit the previously created contents.
Error while executing filter ConvertFontToSpanFilter - [object Error].
I tried the below code but still gets the same error.

 

ContentFilters

= "ConvertToXhtml, RemoveScripts,FixUlBoldItalic, IECleanAnchors, FixEnclosingP, MozEmStrong,ConvertFontToSpan, IndentHTMLContent, OptimizeSpans"

Regards,
Christy

Rumen
Telerik team
 answered on 14 Nov 2012
1 answer
93 views

I want to make the radfilter only update the radgrid when the apply buttom is press. not during the buliding of an expressions. I try to put radfilter under the RadAjaxmanager with the EventName="ApplyExpressions". Please see the code below

<head runat="server">
    <title></title>
    <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
</head>
<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        <Scripts>
            <%--Needed for JavaScript IntelliSense in VS2010--%>
            <%--For VS2008 replace RadScriptManager with ScriptManager--%>
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
            <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
        </Scripts>
    </telerik:RadScriptManager>
    <script type="text/javascript">
        //Put your JavaScript code here.
    </script>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default">
    </telerik:RadAjaxLoadingPanel>
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadFilter1" EventName="ApplyExpressions" >
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grid" />
                </UpdatedControls>
            </telerik:AjaxSetting>
            <telerik:AjaxSetting AjaxControlID="RadFilter1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadFilter1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <div>
         
 
                        <telerik:RadFilter ID="RadFilter1" runat="server" FilterContainerID="grid"
                            ExpressionPreviewPosition="Bottom"
                            onapplyexpressions="RadFilter1_ApplyExpressions" AllowFilterOnBlur="False" >
                        </telerik:RadFilter>
  
                    
              
                        <asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
    
      </div>
    </form>
</body>
</html>

But it still update the radgrid when i build the expressions.

Angel Petrov
Telerik team
 answered on 14 Nov 2012
5 answers
379 views
Hi there! The RadEditor is amazing, just want to get that out of the way :) Was wondering if there is a way to get the Format Code Block Preview syntax highlight features enabled for the Source Code window in the editor. We want to make it so when you view the code you can view the syntax highlight and have it format the code properly? is that possible?

thanks
Rumen
Telerik team
 answered on 14 Nov 2012
3 answers
335 views
Hi,
I want to show the selected image as the preview, i have used below code but it is not working and tools.
i am using Visual Studio 2010 Premium,

<telerik:RadUpload ID="RadUpload1" runat="server" OnClientFileSelected="OnClientFileSelected" AllowedFileExtensions=".bmp,.jpeg,.jpg,.gif"  MaxFileSize="100000000"/>

<asp:Image id = "imgTheme"   runat="server" ClientIdMode = "Static"/>

<script type = "test/javascript">
function OnClientFileSelected(sender, args){
var image = document.getElementById("imgTheme");
image.src = args.get_fileInputField().value;
}
</script>

in java script i am able to get the image, i have shaw the image control in the alert. But when i saw image source in the alert it show the path "C:\\fakePath\imagefileName", and i am not uploading the image from the c drive.

Thanks
Plamen
Telerik team
 answered on 14 Nov 2012
4 answers
139 views
I have a RadGrid with a DetailTable in it.  When I expand a row in the MasterView to show the Detail, I want to change the detail row's Edit link text based on the data in the detail row.

For example if the row has col1="Blah", then I want the edit text to be "Edit Blah" instead of "Edit".

What's the easiest way to do this?
TechSavvySam
Top achievements
Rank 1
 answered on 14 Nov 2012
3 answers
120 views
Does asp.net ajax has something similar to silverlight RadTimeBar?

I need to display time and finished percentage task. ie, at what time, finished what percentage.

What is the right control for me to use in asp.net ajax?

Thanks
Plamen
Telerik team
 answered on 14 Nov 2012
3 answers
99 views
Hi,
I have a TreeView and RadGrid width drag and drop functionality (drag from TreeView  and drop to RadGird). To Detect which node is dropped on RadGrid, I have added a nodeDrop handler to TreeView. So When i drop a node on RadGrid, nodeDrop handler fires, but SourceDragNode and DraggedNodes of RadTreeNodeDragDropEventArgs  parameter are null. This happens just when I move TreeView and RadGrid to an UserControl.
What things may cause this issue?

I have checked my post data at client side, an it seems OK (dropped node index has correct value ).

any idea is appreciated.
Boyan Dimitrov
Telerik team
 answered on 14 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?