Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
143 views
I'm trying to have a combo box display a list of images with thumbnails and the image file name. The thumbnails are not showing up. I'm getting the red X in its place in Internet Explorer and nothing shows up in Mozilla Firefox. How do I fix this?

Protected

Sub BindToImageList(ByVal combo As RadComboBox)

 

 

''Populate the datatable

 

 

Dim sConnString As String = ConfigurationManager.ConnectionStrings("PU89").ConnectionString

 

 

Dim objConnection As New SqlClient.SqlConnection(sConnString)

 

 

Dim strSQL As String

 

strSQL =

"SELECT * FROM tblPhotoGallery; "

 

 

Dim objDR As SqlDataReader

 

 

Dim command As New SqlClient.SqlCommand(strSQL, objConnection)

 

 

Dim strFullPath As String

 

 

Dim strFileName As String

 

 

Me.rcboImage.Items.Add(New RadComboBoxItem("", ""))

 

 

Try

 

objConnection.Open()

objDR = command.ExecuteReader(System.Data.CommandBehavior.CloseConnection)

 

While objDR.Read()

 

strFullPath = objDR(

"ImagePath")

 

strFileName = Path.GetFileName(strFullPath)

 

Me.rcboImage.Items.Add(New RadComboBoxItem(strFileName, strFileName))

 

 

Me.rcboImage.FindItemByText(strFileName).ImageUrl = objDR("ImagePath")

 

 

Me.rcboImage.FindItemByText(strFileName).DisabledImageUrl = objDR("ImagePath")

 

 

End While

 

 

 

Catch ex As Exception

 

Response.Write(ex.Message)

Response.End()

 

Finally

 

 

If objConnection.State = ConnectionState.Open Then

 

objConnection.Close()

 

End If

 

 

End Try

 

 

End Sub

 

sbowman
Top achievements
Rank 1
 answered on 27 Jan 2009
4 answers
136 views
I have a Radgrid1 control that contains another Radgrid2 within the formtemplate and now I'm having trouble accessing Radgrid2.
I can populate it and show data, but I don't know how to "edit" or "delete" rows in Radgrid2. Can anyone provide some inside on how to user a Grid within a formtemplate of another Grid?
Stephan
Top achievements
Rank 1
 answered on 27 Jan 2009
6 answers
188 views
Accessibility is an Art, especially with the multitude of browsers out there.

I would like to see the following properties added to the Grid in the released version (so I don't have to do it myself -- I am lazy :-) )

<telerik:GridBoundColumn 
        DataField="LastModified" 
        SortExpression="LastModified" 
UniqueName="LastChangedHeader" 
        Visible="True"
HeaderText="Date Last Changed"
        HeaderTooltip="This column shows the date that this record was last modified"
        HeaderAbbr="Changed On"
        ColumnAxis="false"
        RowAxis="true"
>
</telerik:GridBoundColumn>
On ItemCreate allow the setting of "headers" see http://www.w3.org/TR/WCAG10-HTML-TECHS/ 5.1.2
You may wish to also review www.usability.com.au/resources/tables.cfm  for other potential additions.

I have done inheritance on the Asp:GridView and implemented all of the above -- so I know that it can be implemented

Thanks!

Ken Lassesen
ex-Dr.GUI on MSDN
pucsoftware
Top achievements
Rank 1
 answered on 27 Jan 2009
7 answers
178 views
Hello,

WHen in the month view, can the appointment height be adjusted?  Our users are complaining about the height of each appointment in month view...

Thanks.
Peter
Telerik team
 answered on 27 Jan 2009
2 answers
148 views
Hello,
I have a RadToolBar with some buttons inside, very similar to this example:
http://demos.telerik.com/aspnet-ajax/Toolbar/Examples/ServerSide/ServerEvents/DefaultCS.aspx

When I click on the button with the mouse it posts back to the server. When I tab to the button and click <Enter> on the keyboard, it does not post back to the server. I recently upgraded to Q3 SP1, previously I was using Q2 and pressing <Enter> on the keyboard worked.

Note that the same situation is true on the above included demo page. Is there a work-around for this issue, or a fix in the upcoming pipeline?

Thanks!



Yana
Telerik team
 answered on 27 Jan 2009
1 answer
90 views
Is it possible to show the insert form by clicking a link (for ex. Add an Event link) from outside the scheduler?

I am using the onClientTimeSlotClick to open the Insert form on a single click, but I do not want the user to navigate to the particular date to add an event.

Thanks.
Peter
Telerik team
 answered on 27 Jan 2009
2 answers
124 views
Hi,

We are using the RadToolTip and RadToolTipManager in our websites.
We've encountered a problem in Firefox when hovering over an element and there's flash on the same page.
The swf keeps reloading every time a tooltip is shown. I've tested it with the latest version of Firefox and Flash 9 and 10 (the latest release). Same problem.

You can see the phenomenon on http://www.siba.se/StartPage/StartPage.aspx (Try hovering over the toplist-items on the right-top-side (Topplistor) or try adding products in the cart and hover over the cart-items in the left cart).

I did search for similar problems but couldn't find anything relevant.

thanks in advance.

Regards
Mario
Mario
Top achievements
Rank 2
 answered on 27 Jan 2009
1 answer
157 views
Hello All,

I need to make tooltip background to semitransparent for that i have created the custom theme file and changed the
div.radtooltip_Default table.ToolTipWrapper td
{        
    padding: 0; margin: 0;
    border-collapse: collapse;
    background-color:Gray;
    filter:alpha(opacity=50);
    -moz-opacity:.50;
    opacity:.50;
}


By this it will make the background to semitransparent but the text of tooltip is also transrarent.

Now i needs to make the background to transparent but the text should be dark same as if without opacity changed.

i have also tried with

div.radtooltip_Default
{
    position: absolute;
    cursor: default;
    border: solid 1px #383838;
    background-color:Gray;
    filter:alpha(opacity=50);
    -moz-opacity:.50;
    opacity:.50;
}


so what portion of the css i need to change

Thanks



Svetlina Anati
Telerik team
 answered on 27 Jan 2009
1 answer
173 views
hi,
In my project i have a grid, inside it contains two template columns, one with a checkBox and one with a RadColorPicker.

How can I take value to RadColorPicker on fire (to clientside) checkBox's onclick in the same row?

This is the function that i use, cpObj is correctly found  but alert return "nothing" value:

function ShowColor(ColorPickerClientID){
var cpObj = document.getElementById(cpClientID);                         
        alert(cpObj.get_selectedColor()); }

Thank.

Alessio.




Svetlina Anati
Telerik team
 answered on 27 Jan 2009
3 answers
133 views
Hi,

Is it possible to add a GridTemplateColumn to a grid using the init or load event of the code behind page? My problem is that I add the coumn in design, but if I change the datasource and get the grid to refresh itself in the designer, my custom GridTemplateColumn columns get removed

thx

Bobby
Daniel
Telerik team
 answered on 27 Jan 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?