Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
125 views
Hy,

I am specifying my querystring as navigateurl of a window and when retreiving it the parameters are missing.
My code is
Dim url As String = "../ServiceCenter/JobEstimation.aspx?EstNo=" & EstNo & "&Location" & EstLocation & "&Year" & EstYear
rwCustConfirmation.NavigateUrl = url

and when retreiving it i get only Estno=2&Location..
help me
Kevin
Top achievements
Rank 2
 answered on 19 Jun 2012
1 answer
110 views
I am using the Q2 2012 version of ajax, I have a grid on an aspx page and in that grid I have a template column for a custom button and a custom editlink functionality.  The custom button and link open a radwindow and they work fine.  However I am also allowing paging of the grid, and this strips the custom functions because i have it in the radgrid_created event wrapped in an !ispostback if statement.  I have tried the pageindexchanged event up it is after the create event.  Any guidance is appreciated on how to tell the created event that while it is a postback it is a also paging and allow the buttons to create in this instance. thanks.

//here is the markup for the custom columns
                <telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn column" UniqueName="addSubscriber"
                                AllowFiltering="false">
                                <ItemTemplate>
                                    <asp:Button ID="Button7" runat="server" Text="Add Subscribers" /></ItemTemplate>
                            </telerik:GridTemplateColumn>
       <telerik:GridTemplateColumn UniqueName="TemplateEditColumn" AllowFiltering="false">
                                <ItemTemplate>
                                    <asp:HyperLink ID="EditLink" runat="server" Text="Edit"></asp:HyperLink></ItemTemplate>
                            </telerik:GridTemplateColumn>
 
 
//and here is the code behind
   if (!IsPostBack)
        {
            if (e.Item is GridDataItem)
            {
 
                HyperLink editLink = (HyperLink)e.Item.FindControl("EditLink");
                editLink.Attributes["href"] = "#";
                editLink.Attributes["onclick"] = String.Format("return ShowAlertEditForm('{0}','{1}');", e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["ID"], e.Item.ItemIndex);
            }
            if (e.Item is GridDataItem)
            {
                Button editLink = (Button)e.Item.FindControl("Button7");
                // OnClientClick=" return ShowAddSubscriberForm();"
                editLink.Attributes.Add("onclick", String.Format("return ShowAddSubscriberForm('{0}','{1}');", e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["ID"], e.Item.ItemIndex));
 
            }
        }
regina
Top achievements
Rank 1
 answered on 19 Jun 2012
0 answers
76 views
Hy,

I am using a radnumerictextbox as readonly,while assigning  value to the control it is displayed twice.

Hlp me
Gopakumar
Top achievements
Rank 1
 asked on 19 Jun 2012
0 answers
129 views
Hi,
I need to highlight only the previous Selected Dates in disabled RadCalendar. Please provide solution.

Regards,
Aditya
Aditya
Top achievements
Rank 1
 asked on 19 Jun 2012
8 answers
183 views
Just upgraded my code to the lastest version and I have a detail table with the following code:
<DetailTables>
<telerik:GridTableView runat="server" DataKeyNames="JobID,JobCompleted,OrderCompleted,JobCancelled,Status" DataSourceID="dsJobs" Name="JobDetail" AllowFilteringByColumn="False" ShowHeadersWhenNoRecords="False" AllowSorting="false" ExpandCollapseColumn-Display="false">

It now gives me an error of System.NullReferenceException: Object reference not set to an instance of an object.

I tracked it down to the property of:

ExpandCollapseColumn-Display="false"

If I remove this then it works (although the expand/collapse column appears).  If I set it to ExpandCollapseColumn-Visible="false" it errors again.  It does work on the mastertableview.  I know I can hide it through CSS (but I have a mix-and-match on the same page) or codebehind, but I really don't want to update the ton of pages that this is used on.  I would rather wait for an update if this is a verified error.
Tsvetoslav
Telerik team
 answered on 19 Jun 2012
0 answers
121 views
Hi,

We have enable IIS dynamic compression on our Sitefinity website. We have a separate asp page using a RadlistView control.

It seems that dynamic compression block the page (postbaclk is not taken in consideration / page refresh )

What can we do to enable this compression ?

Thanks

Elsa
Elsane
Top achievements
Rank 1
 asked on 19 Jun 2012
1 answer
158 views
Hi. I'm using the XmtHttpPanel for the first time. At the moment I have the XmlHttpPanel within a <div id="panelDiv" runat="server">

At the moment I am using callback similar to the first look demo on the Telerik website (ie javascript to set the XmlHttpPanel.value and that then calling code behind).

If I set the panelDiv.visible = false; nothing seems to happen. If I set panel.visible = false; the panel disappears. However, if I then make another click that results in panel.visible=true; I get an error:

    Server Error in '/prototype' Application. 
    -------------------------------------------------------------------------------- 
     Script control 'Async_highlights' is not a registered script control. Script controls must be registered using RegisterScriptControl()
     before calling RegisterScriptDescriptors(). 
    Parameter name: scriptControl


I also have a button separate to the XmlHttlpPanel that I want to also use to switch the panel's visibility. I found problem using .visible but it seems to work using the display attribute.

Can you give any advice about the best way to hide/show an XmlHttpPanel dynamically (I don't care about the content because if the panel is subsequently revealed again the content will be updated).


Slav
Telerik team
 answered on 19 Jun 2012
1 answer
60 views
Hi,
I am trying to load 3 combo boxes using LoadOnDemand (or a similar method that doesnt require post backs).  The pseudo idea is that, the first box contains a list of books, then on selection of a book they get a list of chapter names for that book and they would select a chapter and then finally the third box would populate and contain a list of say paragraphs.

My issue is that when using LoadOnDemand the back end isn't able to receive the value of the previous box.  What would be the best way about doing this?  I understand I could use ajax but it seems really messy to pass it all back as strings to the front end.  I am pretty sure there must be some way to use LoadOnDemand how i require but i just cant seem to find it.

Many Thanks,
Michael


Ivana
Telerik team
 answered on 19 Jun 2012
1 answer
59 views

When using IE8 in compatability mode, the RadUpload control "select" button appears hidden when the InputSize property is increased to a value above 55.  How can I fix this?

Here is the code on my simple test page.  See attached for display results.

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="test.aspx.cs" Inherits="test" %>

 

<%

 

@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

 

<%

 

@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="ajaxToolkit" %>

 

<!

 

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<

 

 

html xmlns="http://www.w3.org/1999/xhtml">

 

<

 

 

head runat="server">

 

 

 

<title></title>

 

</

 

 

head>

 

<

 

 

body>

 

 

 

<form id="form1" runat="server">

 

 

 

<ajaxToolkit:ToolkitScriptManager runat="Server" EnablePartialRendering="true" ID="ScriptManager1" />

 

 

RadUpload with InputSize = 65...

 

<br />

 

 

 

<telerik:RadUpload

 

 

 

ID="RadUpload0"

 

 

 

runat="server"

 

 

 

MaxFileInputsCount="1"

 

 

 

InitialFileInputsCount="1"

 

 

 

ControlObjectsVisibility="None"

 

 

 

CssClass=""

 

 

 

InputSize="65" />

 

<

 

 

br /><br />

 

RadUpload with InputSize = 50...

 

<br />

 

 

 

<telerik:RadUpload

 

 

 

ID="RadUpload1"

 

 

 

runat="server"

 

 

 

MaxFileInputsCount="1"

 

 

 

InitialFileInputsCount="1"

 

 

 

ControlObjectsVisibility="None"

 

 

 

CssClass=""

 

 

 

InputSize="50" />

 

 

 

</form>

 

</

 

 

body>

 

</

 

 

html>

 

Peter Filipov
Telerik team
 answered on 19 Jun 2012
1 answer
72 views
Hello !

How can I  always start   top of the page after PageIndexChanged in  RadListView and GridView.

I am really appreciate your help.

With BR,
Tin
Galin
Telerik team
 answered on 19 Jun 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?