RadComboBox Checked Event not Firing

4 posts, 0 answers
  1. Kishor
    Kishor avatar
    82 posts
    Member since:
    Oct 2012

    Posted 05 Apr 2013 Link to this post

    Hello

       I have used RadComboBox with checkBoxes 
        my question is :  which event fires when check box is checked 

       because my RadComboBox contain 6 checkboxes and i want to change state of ckeckboxes  on selection of checkbox
     so i want an event which gets fire when i select any one checkbox from RadComboBox.

    waiting for reply

    Thanks 
    Kishor
  2. Kishor
    Kishor avatar
    82 posts
    Member since:
    Oct 2012

    Posted 05 Apr 2013 Link to this post

    Hello 

     i got the solution by setting Autopostback of combobox=true

     But my problem is ,when i select  a single checkbox from  the ComboBox the ComboBox  gets closed 

    is it possible to keep the ComboBox open so that i can select other checkboxes from the comboBox

    When Autopostback property of ComboBox is set to False it works fine but my itemchecked event does not fires

    waiting for reply

    Thanks
    Kishor
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kishor
    Kishor avatar
    82 posts
    Member since:
    Oct 2012

    Posted 08 Apr 2013 Link to this post

    hello

      I have Edit link column in RadGrid which contains filename
      when I click link containing Text.txt file it opens in browser and not in notepad or specific program
      
     other  extension files open correctly like .doc,.pdf,.xls etc
     please help how to open text file 

     Protected Sub gridAttachment_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles gridAttachment.ItemDataBound
         
                For i = 0 To gridAttachment.Items.Count - 1
                    gridAttachment.Items(i).Item("sFileName").Text = "<a href=" & Convert.ToChar(34) & "Uploads-CombsuAttachments/" &       (gridAttachment.Items(i).Item("sFileName").Text) & Convert.ToChar(34) & " target=_blank>" & (gridAttachment.Items(i).Item("sFileName").Text) & "</a>"
                    gridAttachment.Items(i).Item("sFileName").ToolTip = "Click here to view file"
                Next
                 
        End Sub
  5. Hristo Valyavicharski
    Admin
    Hristo Valyavicharski avatar
    975 posts

    Posted 10 Apr 2013 Link to this post

    Hi Kishor,

    The other file extension like .doc,.pdf,.xls are opened because they rely on plugins provided by Microsoft Office and Adobe Acrobat. For security reasons you cannot run programs from your browser. However you
    could try to change the response content type:
    Response.ContentType = "application/text";

    Regards,
    Hristo Valyavicharski
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top