Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
126 views
Hello,
I've searched the internet a lot to find the answer to my question, but didn't succeed.
Is it possible to make RadDateTimePicker NOT highlight the input field, if the value entered is invalid?
E.g., when the user inputs an invalid date, the RadDateTimePicker becomes red-coloured, but I would like it to remain the default gray-coloured style.
Thanx in advance, Vladimir.
Missing User
 answered on 12 Nov 2008
0 answers
77 views
my scrollbars keeps dissapearing but if i resize the column it will come back again. i got a suggestion from one of the admin to do the below syntax but that didn't help. this related to the post i have but it din't get a response so i post a new one here. hope you understand. thank you.
<
MasterTableView DataSourceID="SqlDataSource1"  TableLayout="fixed"     > 

http://www.telerik.com/community/forums/aspnet-ajax/grid/scrolling-get-disappeared-when-i-put-gridgroupbyfield.aspx
appdev
Top achievements
Rank 1
 asked on 12 Nov 2008
1 answer
91 views

I have several dockzones loaded dynamically. I want docks only dockable in their assigned dockzone but not other's zone. Sure I can use ForbiddenZones to exclude zones, but the nature if my dockzone is AJAX loaded, I don't want to edit ForbiddenZones property every time if I want to add/edit/delete a zone.

Is there any way to limit dock to its own zone?

Thanks a lot!
Wei

Petko
Telerik team
 answered on 12 Nov 2008
4 answers
127 views
Hello,

I'm using the RadEditor as a Richtextbox would be used.  I was originally using a Richtextbox to pull my text from the database, store it in the textbox, allow the user to make any changes and save the text back in the database with the click of an external button.  I have made the necessary changes to my code that replaces the Richtextbox with the RadEditor.  However, when I get to the page where the RadEditor is loaded on, it hasn't grabbed the text from the database like the richtextbox has.  And even when I enter text into the RadEditor, it's not saving that text to the database. Any help or tips you have will be of interest.

Thank You
Jeff
Top achievements
Rank 1
 answered on 12 Nov 2008
6 answers
185 views
Hi all

I have read through a couple of threads on this but can't find a resolution and it's really frustrating me, so I'm hoping for some help.

I have tried to do this:

 

var manager = GetRadWindowManager();
var window1 = manager.GetWindowByName("oWinItem");
window1.show();

 

And I have tried to do this:

var

 

oWnd = $find("<%= oWinItem.ClientID %>");
oWnd.show();

 

But I am getting this blased undefined error.

I read through the post below, which discusses using a delay, but in all honesty it doesn't really make any sense to me as I haven't used a script manager before.

https://www.telerik.com/community/forums/thread/b311D-beacgk.aspx

I'm really hoping somebody can help!!

Many thanks

Darren            
Darren Ratcliffe
Top achievements
Rank 1
 answered on 12 Nov 2008
3 answers
106 views
I have a grid with 2 Radcombo's in it.  When a user makes a selection in the first drop down, I need to filter the values available in the second drop down based on the selection in the first drop down.  Are there any example projects that I can take a look at to give me some pointers ?
mww
Top achievements
Rank 1
 answered on 12 Nov 2008
6 answers
133 views
i automatically generate the colunmns and rows by using radgrid1.datasource = .......
this works fine and i could see the scroll up down and left right bar. however, when i add in group by expression i don't see it any more. i still could scroll using my scroll button on the mouse but that's it. also i could see the scroll bar at loading when i try to go to the next page. could you help me out please? here is the code of how i add the groupby

radgrid1.datasource = .......

RadGrid1.AllowPaging =

True

 

RadGrid1.AutoGenerateColumns =

True

 

RadGrid1.AllowSorting =

True

 

 

Dim expression As GridGroupByExpression = New GridGroupByExpression

 

 

Dim gridGroupByField As GridGroupByField = New GridGroupByField

 

gridGroupByField =

New GridGroupByField

 

gridGroupByField.FieldName =

"section"

 

gridGroupByField.HeaderText =

"Section: "

 

expression.SelectFields.Add(gridGroupByField)

expression.GroupByFields.Add(gridGroupByField)

RadGrid1.MasterTableView.GroupByExpressions.Add(expression)

 

RadGrid1.ClientSettings.Scrolling.AllowScroll = True

 

RadGrid1.ClientSettings.Scrolling.UseStaticHeaders =

True

 

RadGrid1.DataBind()

appdev
Top achievements
Rank 1
 answered on 12 Nov 2008
7 answers
231 views
RadProgressArea1.ProgressIndicators &= ~ProgressIndicators.SelectedFilesCount;

gives me the following error:

Error 1 Operator '&=' cannot be applied to operands of type 'Telerik.WebControls.ProgressIndicators' and 'Telerik.Web.UI.Upload.ProgressIndicators'

Error 2 Cannot implicitly convert type 'Telerik.Web.UI.Upload.ProgressIndicators' to 'Telerik.WebControls.ProgressIndicators'. An explicit conversion exists (are you missing a cast?) 
Erjan Gavalji
Telerik team
 answered on 12 Nov 2008
1 answer
229 views
Hi,
    We are using rad-chart for our application and the chart that gets generated is dynamically generated one where in i am trying to add  tool tip for the  series item by concatneating two string values .The issue is that when i try to add a Newline definition between them i get JS error when the page loads saying "String has not been terminated".But the two string values appears one below the other as expected.PFB the code  that generates the above issue.

for

(int ic = 0; ic < dtv.Count; ic++)

 

{

ChartSeriesItem seriesItem =

new ChartSeriesItem();

 

seriesItem.YValue = (

double)dtv[ic]["Settlement"];

 

seriesItem.Name = "Settlement";

seriesItem.Appearance.Border.Color = Color.Black;

seriesItem.XValue = Convert.ToDouble(dtv[ic]["Date"]);

seriesItem.ActiveRegion.Tooltip = "Date :" + DateTime.FromOADate(Convert.ToDouble(dtv[ic]["Date"])).ToShortDateString() + "" + System.Environment.NewLine + "Price :$" + dtv[ic]["Settlement"].ToString() + "";

 

RadToolTipManager1.TargetControls.Add(

null, seriesItem.ActiveRegion.Tooltip.ToString(), true);

 

s0.AddItem(seriesItem);

}
The code has been highligted in green color.

Please let me know where i am wrong.

Thanks & Regards,
Preetam.

Giuseppe
Telerik team
 answered on 12 Nov 2008
3 answers
229 views
Hello,

I've placed two RadTextBoxes on a page together with a CompareValidator (Operator="Equal") with the option ValidateEmptyText="true". But the validator doesn't trigger when the value is empty. It doesn't work both client and server side.

The problem can be reproduces with the following code:

Value 1: <telerik:RadTextBox ID="txtPasswordFirst" runat="server" TextMode="Password"></telerik:RadTextBox> 
<br /> 
Value 2: <telerik:RadTextBox ID="txtPasswordSecond" runat="server" TextMode="Password"></telerik:RadTextBox> 
<asp:CompareValidator ID="valPasswordEqual" runat="server" EnableClientScript="false" ControlToValidate="txtPasswordSecond" ControlToCompare="txtPasswordFirst" Text="Values are not equal" Operator="Equal" ValidateEmptyText="True"></asp:CompareValidator> 
<br /> 
<asp:Button runat="server" Text="Submit" ID="btnSubmit" OnClick="btnSubmit_Click" /> 
<br /> 
<asp:Label runat="server" ID="lblRes" Text="Click to validate"></asp:Label> 
 
<script runat="server"  > 
Protected Sub btnSubmit_Click(ByVal sender as Object, ByVal e as EventArgs) 
  lblRes.Text = String.Format("IsValid: {0}", Page.IsValid) 
End Sub 
</script> 
 

Regards,
Paul
Missing User
 answered on 12 Nov 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?