Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
142 views
Hi All,

I am using RadControls for ASP.NET AJAX 2008 (version 2826)


I am using radtabstrip .
I have added 3 radtab in it.


e.g. if tabs are Tab1,Tab2 and Tab3

In IE7 tabs showing in horizotal line one after the other.

IE7 view -
Tab1  Tab2  Tab3

But i am facing problem in IE6

IE 6 view -
Tab1
Tab2
Tab3

how can i show in horizontal line like IE7

Thanks.
Andreas Kaech
Top achievements
Rank 1
 answered on 10 Dec 2008
1 answer
106 views
I have a grid that uses a custom UserControl for editing/inserting

I have two issues, that I am trying to solve for awhile, without success:

1) UserControl does not hide when canceling inserts (only when canceling updates)

        private void bCancel_Click(object sender, ImageClickEventArgs e) 
        { 
            if (_ParentForm != null
            { 
                _ParentForm.ShowReleasesList(_ProductNoderef); 
            } 
 
            GridEditableItem editedItem = Parent.NamingContainer as GridEditableItem; 
            if (editedItem != null
            { 
                editedItem.Edit = false
                editedItem.OwnerTableView.ClearEditItems(); 
                editedItem.OwnerTableView.OwnerGrid.PrepareRowsRecursive(editedItem.OwnerTableView); 
                editedItem.OwnerTableView.OwnerGrid.PrepareRowsVisibilityRecursive(editedItem.OwnerTableView); 
            } 
        } 


2) The grid does not refresh when changing/inserting an item
        private void UpdateGrid(GridEditableItem editedItem) 
        { 
            WorkPackage wp = WorkPackage.GetByHandle(ValDataSet, _WorkPackNoderef); 
             
            IEnumerable<WorkPackDetails> previousWorkPacks = (IEnumerable<WorkPackDetails>)editedItem.OwnerTableView.OwnerGrid.DataSource; 
 
            WorkPackDetails details = editedItem.DataItem as WorkPackDetails; 
            if (details != null
            { 
                // in Update Mode update the workpack details 
                details.FillAttributes(wp); 
                details.FillReleasesDetails(wp, ValDataSet); 
 
                List<WorkPackDetails> updatedWorkpacks = new List<WorkPackDetails>(previousWorkPacks); 
                editedItem.OwnerTableView.OwnerGrid.DataSource = updatedWorkpacks; 
            } 
            else 
            { 
                // In Insert Mode add a new workpack 
                details = WorkPackDetails.GetDetailsFromWorkPack(wp, ValDataSet); 
                List<WorkPackDetails> updatedWorkpacks = new List<WorkPackDetails>(previousWorkPacks); 
                updatedWorkpacks.Add(details); 
                editedItem.OwnerTableView.OwnerGrid.DataSource = updatedWorkpacks; 
            } 
 
            //editedItem.Edit = false; 
            editedItem.OwnerTableView.ClearEditItems(); 
            editedItem.OwnerTableView.OwnerGrid.Rebind(); 
        } 
immitev
Top achievements
Rank 1
 answered on 10 Dec 2008
3 answers
112 views
Hi all.

I have a question regarding the usage of skins. I have a scheduler and currently using the WebBlue skin, however, I need to make the hovered cell (in any view of the scheduler) darker. I'm unable to find the correct CSS class to modify so can anybody help me with this?

Thanks.
Jose Guay
Kamen Bundev
Telerik team
 answered on 10 Dec 2008
3 answers
145 views
Hi guys,
I'm testing the RadColorPicker in my project and I find a compatibility trouble with prototype.js library.
Following an example to reproduce the error. If you remove the line <script type="text/javascript" src=".... prototype.js"></script> everything goes fine.


<%

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

 

<%

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

 

<!

 

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>Test ColorPicker</title>

 

 

 

<script type="text/javascript">

 

 

 

function colorChange(sender, eventArgs)

 

{

 

 

var myDiv = document.getElementById("myDiv");

 

myDiv.innerHTML =

 

'Color changed from ' + eventArgs.get_oldColor()

 

+

 

" to " + sender.get_selectedColor();

 

 

 

return;

 

}

 

 

</script>

 

</

 

head>

 

<

 

body>

 

 

 

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

 

 

 

<asp:ScriptManager ID="ScriptManager1" runat="server">

 

 

 

</asp:ScriptManager>

 

 

 

<script type="text/javascript" src="../Library/scriptaculous/scriptaculous-js-1.8.2/lib/prototype.js" ></script>

 

 

 

<div>

 

 

 

<telerik:RadColorPicker ID="RadColorPicker1" runat="server" Columns="16" Preset="web216"

 

OnClientColorChange

 

="colorChange" ShowIcon="true">

 

 

 

</telerik:RadColorPicker>

 

 

 

<div id="myDiv"></div>

 

 

 

</div>

 

 

 

</form>

 

</

 

body>

 

</

 

html>

 

Georgi Tunev
Telerik team
 answered on 10 Dec 2008
1 answer
133 views
In our one ASP.NET project, we use a lot of RadNumericTextBoxs on pages. For accuracy reason, we want to set the NumberFormat.KeepNotRoundedValue property of all RadNumericTextBoxs to TRUE.  Is there any handy method to accomplish this? Just like globally assign a particular skin to a particular RadControl in web.config?

Nikita Gourme
Top achievements
Rank 1
 answered on 10 Dec 2008
1 answer
87 views
What I'm trying to do is have your tooltip control hooked to an image.  Your tooltip should open when the image is clicked and I've adjusted the ToolTipShowEvent as necessary and everything works correctly.

However...if I want a regular (non-Telerik) tooltip to show when I hover over said image I would normally assign its ToolTip property to the desired text.  By setting this however it wipes out the ItemTemplate and replaces it with the tooltip text.

I realize the reasoning behind this since you would normally have your tooltip control as a replacement of the default tooltip functionality.  Is there some option that I'm not seeing to allow my desired behaviour?

Thanks
Tervel
Telerik team
 answered on 10 Dec 2008
3 answers
103 views
Hi,

I have a aspx page where we are using below doctype:

<!

 

DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" >

This is needed for functionality as we are building hierarchical HTML table.

If i try to put AjaxPanel, it page is getting hanged.

Please let me know if there is any alternative option for getting the ajax panel work?

regards,

Parimal

 

Dimo
Telerik team
 answered on 10 Dec 2008
1 answer
70 views
Hi,

i am using Radgrid in my application. now i am going to use  Telerik.Web.UI 2008.1.515.20 telerik Grid.

how can i change my code for Item databound and prerender events.

i am getting the following error.


 'Telerik.Web.UI.GridTableView.GetItems(params Telerik.Web.UI.GridItemType[])' has some invalid arguments


how can i solve this.
Daniel
Telerik team
 answered on 10 Dec 2008
4 answers
84 views
Hello, we have the latest version of the DNN radEditor installed on DNN 4.9. with all default values set in the config.xml file, for some reason, when using the spellchecker, the suggestions window ALWAYS appears at the bottom of the browser window, instead of underneath the misspelled word. This only appears to happen this way in IE 7 - Firefox 3, the window appears ABOVE the misspelled word. Does anyone know why this is? Is it a bug in the CSS of the newest release?

Thanks
Dan
Georgi Tunev
Telerik team
 answered on 10 Dec 2008
5 answers
127 views
I'm using the RadRotator control to create a scrolling news area on my site.  My database returns a data table of several rows, one row per news item.  I'd like to be able to show 3 items per scrolling screen.  What's the best way to do this?
Georgi Tunev
Telerik team
 answered on 10 Dec 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?