Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
195 views
We're using RadCompression in our project and I've run into a small snag.  On one of our pages, we download a Zip file to the client.  We're using pretty standard code to download the file (similar to the following:  link), but the resulting file on the client is always coming up as corrupted.  I've verified that the source file on the server is good. 

After digging around a little, I tried disabling the EnablePostbackCompression setting in the web.config.  Now, the downloads are just fine.  So, is there a way to turn this setting off for a specific postback?  Or is there a better way to have both postback compression and the ability to download zip files?  Any help is appreciated!

Dave
Martin
Telerik team
 answered on 08 Nov 2011
0 answers
80 views
In my grid I have 2 column, first is clientselectColumn and second is a template column in which i hae a raddatepicker. This grid is in a dialog window. When I click OK button in my window I must validate that all row whith clientselectcolumn checked must have a date selected. How I can do this ?
ericc34
Top achievements
Rank 1
 asked on 08 Nov 2011
1 answer
88 views
Hello,
I create runtime some RadTooltip in order to zoom the selected image. If this image (the target one) has an alt text, in the tooltip I see the alt text instead of the zoommed image. If the target image has no alt text, all works fine. The code I use is this one:

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
 
            Try
                If Not Page.IsPostBack Then
 
                    Dim lController As New ZoomTooltipImmagini.ZoomTooltipImmagini_Controller
                    Dim lParametri As List(Of ZoomTooltipImmagini_Info)
                     lParametri = lController.GetParametri(PortalId, ModuleId)
                     'Estraggo il controlid e lo uso per aggiungere il controllo al tooltipmanager
                    For Each lParametro In lParametri
                        Dim lTooltip As New RadToolTip
                        lTooltip.ID = "RadToolTip_" + lParametro.ControlID
                        lTooltip.TargetControlID = lParametro.ControlID
                        lTooltip.IsClientID = True
                        lTooltip.Width = lParametro.Width
                        lTooltip.Height = lParametro.Height
                        lTooltip.ShowDelay = 100
                        lTooltip.AutoCloseDelay = 10000
                        lTooltip.RelativeTo = ToolTipRelativeDisplay.Element
                        lTooltip.Animation = ToolTipAnimation.None
                        lTooltip.Position = ToolTipPosition.BottomCenter
                        lTooltip.ContentScrolling = ToolTipScrolling.None
                        lTooltip.ShowCallout = True
 
                        Dim lImage As New System.Web.UI.WebControls.Image
                        lImage.ImageUrl = PortalSettings.HomeDirectory + lParametro.PercorsoImmagineEspansa
 
                        lImage.Width = lParametro.Width
                        lImage.Height = lParametro.Height
 
                        lImage.Style.Add("text-align", "center")
                        lImage.Style.Add("vertical-align", "middle")
                        lTooltip.Controls.Add(lImage)
 
                        Me.Controls.Add(lTooltip)
 
                    Next
 
 
                End If
 
            Catch exc As Exception        'Module failed to load
                ProcessModuleLoadException(Me, exc)
            End Try
 
        End Sub

Any Ideas?

Thanks
Mario
Top achievements
Rank 1
 answered on 08 Nov 2011
9 answers
224 views
Is there a way to get the RadRotator to scroll/rotate a single item? I want to display a dynamic list of items, and i have noticed that if there is only one item, it does not scroll, it stays at the top. How do I get it to sroll that one item?
Slav
Telerik team
 answered on 08 Nov 2011
3 answers
318 views
I want to change text Check All, Item selected when check select check box? Please support for me.
Irene Alpen
Top achievements
Rank 1
 answered on 08 Nov 2011
1 answer
433 views
Hi all,
        I am using a rad chart (type="Line") where x axis values are adding dynamically which is working smoothly. Now I need to add y axis values also in the same manner. I know minimum and maximum values of y axis but the major tick values binding on it should be specific. For instance: minimum Value=0 and Maximum Value=10. Now I want to display only major ticks like 0,2,5,9 & 10 in the y axis; and also distance between these values should be proportionate. Is it possible ? Any help would be highly appreciated
Thanks in advance
Shafi
Peshito
Telerik team
 answered on 08 Nov 2011
6 answers
212 views
Greetings,

I have been trying to follow the steps of this demo to save the content of my Editor in my database.
http://demos.telerik.com/aspnet-ajax/editor/examples/saveindatabase/defaultcs.aspx
But it is not working unfortunately

<form id="form1" runat="server">
<div>
<input type="hidden" name="EditedNews" runat="server" id="EditedNews" />
    <telerik:RadEditor ID="NewsEditor" runat="server">
    </telerik:RadEditor>
</div>
<telerik:RadScriptManager ID="RadScriptManager1" Runat="server">
</telerik:RadScriptManager>
<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button" />
<asp:SqlDataSource ID="SqlDataSourceRadEditor" runat="server"
    ConflictDetection="OverwriteChanges"
    ConnectionString="<%$ ConnectionStrings:IntranetConnectionString %>"
    DeleteCommand="DELETE FROM [rendezvous] WHERE [idRDV] = @idRDV"
    InsertCommand="INSERT INTO [rendezvous] ([rapport]) VALUES (@rapport) WHERE idRDV = @idRDV "
    SelectCommand="SELECT [idRDV], [rapport] FROM [rendezvous]"
    UpdateCommand="UPDATE [rendezvous] SET [rapport] = @rapport WHERE [idRDV] = @idRDV">
    <DeleteParameters>
        <asp:Parameter Name="idRDV" Type="Int32" />
        <asp:Parameter Name="rapport" Type="String" />
    </DeleteParameters>
    <InsertParameters>
        <asp:Parameter Name="rapport" Type="String" />
    </InsertParameters>
    <UpdateParameters>
        <asp:QueryStringParameter Name="idRDV" QueryStringField="idRDV" Type="Int32" />
        <asp:Parameter Name="rapport" Type="String" />
    </UpdateParameters>
</asp:SqlDataSource>
</form>

protected void Button1_Click(object sender, EventArgs e)
{
    if (EditedNews.Value == string.Empty)
    {
       
        SqlDataSourceRadEditor.UpdateParameters.Add("NewsText", NewsEditor.Content);
        SqlDataSourceRadEditor.Update();
    }
 
     
}


PS: the RadEditor control is within a RadWindow and i pass an ID from a RadGrid to the window, that's why i have a
<asp:QueryStringParameter Name="idRDV" QueryStringField="idRDV" Type="Int32" />

To get back the ID.
The Command i try to do is the update.

Thanks in advance for your help
Adigard
Top achievements
Rank 1
 answered on 08 Nov 2011
5 answers
229 views

Hi All,

  I want to add a new row  below the child item when expand a  Parent item.
  How is it possible?

Thank You.
 
  
 

 
Tsvetina
Telerik team
 answered on 08 Nov 2011
8 answers
157 views
Hello,
I want to make an initial sorting when grid is loaded first but, when I press column header to sort, I want to dismiss initial sorting expressions and follow the grid default sorting procedures. Is that possible? I already know how to sort programmatically but I cannot correctly remove sorting expressions when I don't need them.
Thank you.
Dmitry
Top achievements
Rank 1
 answered on 08 Nov 2011
1 answer
222 views
I am having trouble reading this xml file into Telerik  Ajax RadGrid. The problem is that the xml file is in a weird format that Telerik does not seem to recognize.  Here is an example from the xml file that I want to read into my grid. Does anyone have any suggestions? Thanks
 

<Attribute>
     <Object>
         <Id>27</Id>
         <Type>212</Type>
    </Object>
   <AttributeDef>
        <Id>38</Id>
  </AttributeDef>
  <RowId>0</RowId>
  <StringValue/>
  <DecimalValue xsi:nil="true"/>
  <DateTimeValue xsi:nil="true"/>
  <LongStringValue/>
  <IsLinked>Y</IsLinked>
  <MayModify>Y</MayModify>
  <ValueDescription/>
</Attribute>
Elliott
Top achievements
Rank 2
 answered on 08 Nov 2011
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?