Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
99 views
Hi,
We are using radajaxcontrols 2007 version. Now we are facing some issues with controls like radeditor and RadMaskedTextBox in IE9. From the forums I came to know that these issues are fixed in recent versions. Right now I cannot upgrade complete radcontrols in my project which will take more time for testing. So I would like to upgrade only those two controls. But when I download the latest radajaxcontrols and install them, I got only one dll(telerik.web.ui). I need individual DLLs for those two controls as we had in the older version. Can anyone help me on this?

Thanks,
Jawahar
jawahar
Top achievements
Rank 1
 asked on 23 Jan 2012
3 answers
1.1K+ views
Hi,
I am facing issue when trying to edit or delete a row of rad grid-view. I have one RadPageView and inside this i am loading a User Control and in user control i have a RadGrid. Till now its working fine but it throws error when someone (By mistake) trying to edit a row and same time click edit for other row of next item after this if i click update/cancel or any other location it throws error as below:

Failed to load viewstate.  The control tree into which viewstate is being loaded must match the control tree that was used to save viewstate during the previous request.  For example, when adding controls dynamically, the controls added during a post-back must match the type and position of the controls added during the initial request.

So i want only one edit option should be enable at once. if so then error will not come. For more information i have attached a screenshot. If you have still any doubt please let me know...

Thanks...
Rajneesh
Top achievements
Rank 2
 answered on 23 Jan 2012
5 answers
282 views

i am using latest version of radcontrol(2008.3.1105.35). in radcombo i try to get selected value from javascript so i tried this code

var

 radLable = document.getElementById("<%= radShowLabelSingleSeries.ClientID %>");

 

 

var radLablevalue = radLable.GetValue();

but i didn't get value it throw exception.

if i want to get the value what procedure i want to do. (current i am working mutible theme). any rad javascript want to add. or give suggestion to me.

 

Princy
Top achievements
Rank 2
 answered on 23 Jan 2012
7 answers
1.4K+ views
Hello fellas,
I've been trying to find a way to get the result of a confirmation box in my code-behind but to no avail.  
I have this javascript that opens the confirm box:

 

function openConfirmBox()

 

{

radconfirm(

'Are you sure?', confirmCallBackFn, 330, 100, null,'Confirm');

 

 

return false;

 

}

the call back function is:

 

 

function confirmCallBackFn(arg)

 

{

radalert(

"" + arg + " is returned.",330,100, "Result");

 

}

But I want the result (arg) to be caught in the code-behind... How do I go about doing this?

Princy
Top achievements
Rank 2
 answered on 23 Jan 2012
2 answers
175 views
Is it possible to change "Check All" string to something else? I had hoped there would be property for it, but so far I can't find anything. Thanks.
Princy
Top achievements
Rank 2
 answered on 23 Jan 2012
2 answers
137 views
If I reference the AntiXss library (4.2.1) and then implement it through web config, e.g:
<system.web>
    <httpRuntime encoderType="Microsoft.Security.Application.AntiXssEncoder, AntiXssLibrary"/>
</system.web>

When rendered, the RadMenu presents all links as href="%23".

How can I ensure RadMenu operates normally after adding AntiXss?

Richard
Richard Weeks
Top achievements
Rank 2
 answered on 22 Jan 2012
2 answers
175 views
Hi all!  I hope someone can help me with this...

I have a radgrid within a tab/pageview displaying a list of records.
I'm using the pageLoad() function to calculate the window height and resize the grid accordingly:

function pageLoad() {
             var $ = $telerik.$;
             var height = $(window).height();
             if (height == 0) {
                 alert('0 height');
             } else {
                 var totalHeight = height - 118;
                 document.getElementById('rGrid_GridData').style.height = totalHeight + "px";
             }
         }


This works fine when first loaded.  When clicking a record in the grid, another tab is opened for viewing and editing the record.
When the record is saved, I'm trying to refresh the grid in the "opener" tab by calling a function that essentially causes a postback.
(openerTabIndex is a variable I pass around to keep track of the correct tab).
function doRefreshOpener(openerTabIndex) {
    var openerPageView = window.top.getTabPageView(openerTabIndex);
    $telerik.getChildrenByTagName(openerPageView.get_element(), "iframe")[0].contentWindow.refreshPage();
}

function refreshPage() {
     __doPostBack('btnHiddenRefresh', '');
}

The problem is that the window height is being returned as 0 in IE8 when the pageLoad() function is called again, which is resulting in a javascript bomb.

Can anyone help me resolve this, or suggest a better way of achieving the same results?

Cheers
Rich
RichJ
Top achievements
Rank 1
 answered on 22 Jan 2012
3 answers
238 views
hi everybody i have some problem for get the value of some radnumerictexbox in my footer template of my radgrid, i have to  save this value in my database when the user push a button
this is my aspx code:



<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False"
                Width="1300px" GridLines="None" Skin="Sunset">
                <MasterTableView ShowFooter="true">
                    <Columns>
                        <telerik:GridBoundColumn DataField="COD_MATPRIMA" HeaderText="CODIGO">
                        </telerik:GridBoundColumn>
                        <telerik:GridBoundColumn DataField="NOMMATPRI" HeaderText="NOMBRE">
                        </telerik:GridBoundColumn>
 
                        <telerik:GridTemplateColumn UniqueName="Quantity" HeaderText="UNIDADES">
                            <ItemTemplate>
                                <telerik:RadNumericTextBox Type="Number" DataType="System.Decimal" Value="0" ID="unidadesTextBox" runat="server"  Width="75">
                                    <NumberFormat   />
                                    <ClientEvents  OnBlur="recalculate" />
                                </telerik:RadNumericTextBox>
                            </ItemTemplate>
                            
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="Price" HeaderText="VALOR UNITARIO">
                            <ItemTemplate>
                                <telerik:RadNumericTextBox Type="Number" DataType="System.Decimal" ID="ValorUnitarioTextBox" Value="0" runat="server" Width="75">
                                    <NumberFormat  DecimalDigits="2" />
                                    <ClientEvents OnBlur="recalculate" />
                                </telerik:RadNumericTextBox>
                            </ItemTemplate>
                            <FooterTemplate>
                                Total:
                            </FooterTemplate>
                        </telerik:GridTemplateColumn>
                        <telerik:GridTemplateColumn UniqueName="Result" HeaderText="VALOR TOTAL">
                            <ItemTemplate>
                                <telerik:RadNumericTextBox Value="0" DataType="System.Double" ID="ResultTextBox" runat="server"  ReadOnly="true">
                                    <NumberFormat  
                                        PositivePattern="$ n" NegativePattern="- $ n"/>
                                </telerik:RadNumericTextBox>
                            </ItemTemplate>
                            <FooterTemplate>
Jayesh Goyani
Top achievements
Rank 2
 answered on 22 Jan 2012
1 answer
51 views
I'm new to these radcontrols. I add subitems to panelbar items from my database and every item is expanded. I can't find a method to unexpand all items. Please help me. Thanks
Kugi
Top achievements
Rank 1
 answered on 22 Jan 2012
2 answers
273 views
Hi
I'm using radgrid in my applicaiton very commonly,almost in every page.
I have a requerement where I need to merge two columns headers and give the filter for second column.
curretly i'm doing as follows
<Columns>
     <telerik:GridTemplateColumn DataField="A" AllowFiltering="false">
     <ItemTemplate>
     <asp:Image id="image1"  runat="server" ImageUrl='<%# Bind("abc")%>' ToolTip='<%# Bind("def")%>' Height="15px"  />
     </ItemTemplate>
      </telerik:GridTemplateColumn>
     <telerik:GridHyperLinkColumn FilterControlToolTip="Filter Text"  DataTextField="Name" DataNavigateUrlFields="Name" UniqueName="HyperLinkColumn" DataNavigateUrlFormatString="some text" AllowFiltering="true" HeaderStyle-HorizontalAlign="Left"  FilterControlWidth="90px" Target="frame2" />
      </Columns>
Here I want to merge both grid template column and gridhyperlink column.
I want filter for hyperlink column with left alignment means,it will occupy enterire header.
please help me asap..
Ram
Top achievements
Rank 1
 answered on 22 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?