Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
315 views
hi
I have radcombobox.
now when my page loads some values are selected in the combobox.
now i m checking client side that if  something is selected in the combobox then i disable a radtextbox and if nothing is selected then i enable the same.

now i have added a custom validator on another combobox which is dependent on the first combobox.
if first combobox is not selected then no validation and if the first combobox have selected value and second combo have not any selected value then i show error.

i used
function validate(sender,args)
{
args>IsValid=true;
cmb1=$find("<%= cmb1ID.ClientID%>");

cmb2=$find("<%= cmb2ID.ClientID%>");

if(cmb1.get_selectedIndex()>0 && cmb2.get_selectedIndex()<0) // I have also used cmb1.get_value() and cmb1.get_selectedItem()
{
args.IsValid=false;
return
}

and the first item in my combobox is null and second item is "Please Select" and the remaining items are there.
alnd aloow custom text is true.

please help me to validate the above problem
its urgent.
}
}

Kalina
Telerik team
 answered on 25 May 2010
2 answers
227 views
Probably a stupid newbie question, but here goes.  I have a Panel Bar with 2 Panel Items.  Very simple controls.  Panel Item [0] has a radtextbox.  Panel Item [1] has a numeric textbox.

When I load the page, I disable the Panel Item [1].  I expand and select Panel [0].
When the page posts back, I Enable, Select, and Expand Panel Item [1]. 

Problem:  the numeric textbox is in Panel [1] is disabled after postback
Puzzle:  I added a Date Picker control to Panel [1].  It is not disabled after postback.

This seems like arbitrary behavior to me.  Anyone have an answer?




Nikolay Tsenkov
Telerik team
 answered on 25 May 2010
2 answers
173 views
Hi,

I am using radprompt feature. By default it is displaying '' [two quotes] in textbox. How can I remove this defualt quotes in the radprompt. Please anybody help me....

Regards,
Medac
Kevin
Top achievements
Rank 1
 answered on 25 May 2010
5 answers
170 views
Hi there,

I have a radcombobox which displays the items correctly with scrollbar when the items exceeds its height in firefox; However when I tried it in IE8 it doesn't display its scrollbar, the radcombobox is locked up with its preloaded top items.

By the way my Telerik.Web.UI version is 2009.1.402.35.

Hope I can get help and resolve this issue.


Regards,

Reynald.
Simon
Telerik team
 answered on 25 May 2010
0 answers
83 views
i can't post anything to this forum
Ben
Top achievements
Rank 1
 asked on 25 May 2010
2 answers
131 views
I know this has been brought up many times but I am trying to get smooth scrolling with frozen columns.  Are there any workarounds that i missed or is this still an issue?  I will try to keep this updated with any progress I have.
Ryan Garabedian
Top achievements
Rank 1
 answered on 25 May 2010
1 answer
114 views
Hello,

I need to figure out a way to determine when a user changes the month on the client-side.  So when the user goes from 5/2010 to 6/2010, I need to run special code.  I don't see anything that seems to have the old date and new date.  Also, does the RadScheduler store the current visible start/end date on the client like it does on the server?

I'm binding via a web service, FYI.

Thanks.
Brian Mains
Top achievements
Rank 1
 answered on 25 May 2010
1 answer
234 views

Telerik: 2010.1.519.35 +  VS2008 SP1 + vs doc patch, on Win7

Hi

I have setup a custom skin named MySkin. My base Style is Web20. I noticed that it is indeed included in the output page using “View Source” in the browser. I also noticed my custom height setting is overridden by using FireBug at the dom level

Here is what happens:

My .RadComboBox_MySkin .rcbInputCell { height:150px;} selector get’s overriden by the .RadComboBox table td.rcbInputCell
selector for:

<td style="width: 100%;" class="rcbInputCell rcbInputCellLeft"><input type="text" readonly="readonly" value="Redwood" id="RadComboBox1_Input" class="rcbInput" name="RadComboBox1" autocomplete="off"></td>

Attempting to change the height property during runtime via firebug produces odd ui

I also added EnableEmbeddedBaseStylesheet="False"  to the declaration tag, and got my intended height style setting, but this totally mixed-up the control layout

What am I doing wrong??? Code below ...

Tnx

-Itai

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
 <title></title>
 <telerik:RadStyleSheetManager id="RadStyleSheetManager1" runat="server" />
    <link href="Skins/MyComboBox/ComboBox.MySkin.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
 <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
  <Scripts>
   <%--Needed for JavaScript IntelliSense in VS2010--%>
   <%--For VS2008 replace RadScriptManager with ScriptManager--%>
   <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
   <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
   <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQueryInclude.js" />
  </Scripts>
 </telerik:RadScriptManager>
 <script type="text/javascript">
  //Put your JavaScript code here.
    </script>
 <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
 </telerik:RadAjaxManager>
 <div>

     <telerik:RadComboBox ID="RadComboBox1" Runat="server" Skin="MySkin"
            EnableEmbeddedSkins="False">
        </telerik:RadComboBox>

 </div>
 </form>
</body>
</html>

 

 

Kamen Bundev
Telerik team
 answered on 25 May 2010
1 answer
130 views
Team,

In our Webapplication in top portion we are using Radgrid control. In the Bottom portion we are using DotNetCharting control.
We applied splitter control in between the Radgrid and Charting both are place inside the panel.
When Resizing the Radgrid, it is not coming throughout the page by hiding Charting.
Pls. give me the solution.

ScreenShots are attached for your reference. First one is ans.jpg & second one is ans1.jpg

Thanks
Rajesh N.
Dobromir
Telerik team
 answered on 25 May 2010
4 answers
182 views
Hi All,

I have a grid with a set of filterable columns.  Previously I have shown a filter icon for each column, now I want to make it so that in the first column in the grid it displays a filter icon that the user can click to apply any of the filters that have been setup in each row, I have removed the filter icon on all other columns. 

At the moment I have a button in the FilterTemplate for the relevant column and can get the page to do an ajax callback to the .ItemCommand event for the grid as well as intercept the CommandName for the relevant button.  

There doesn't appear to be any RadGrid.ApplyFilters option and from what I have read I need to programatically add all the filters manually.  Is that correct?  If it isn't present it would be a very useful extra bit of functionality for the grid to have.

Any help?

Regards,

Jon
Taiseer
Top achievements
Rank 1
 answered on 25 May 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?