This is a migrated thread and some comments may be shown as answers.

RadComboBox Checked Event not Firing

3 Answers 190 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Kishor
Top achievements
Rank 2
Kishor asked on 05 Apr 2013, 10:20 AM
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

3 Answers, 1 is accepted

Sort by
0
Kishor
Top achievements
Rank 2
answered on 05 Apr 2013, 11:31 AM
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
0
Kishor
Top achievements
Rank 2
answered on 08 Apr 2013, 01:03 PM
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
0
Hristo Valyavicharski
Telerik team
answered on 10 Apr 2013, 10:38 AM
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.
Tags
ComboBox
Asked by
Kishor
Top achievements
Rank 2
Answers by
Kishor
Top achievements
Rank 2
Hristo Valyavicharski
Telerik team
Share this question
or