Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
78 views
Hi:

I am following the tutorials and am unable to locate the folder for \VS Projects - I have downloaded the trial version and am evaluating but cannot seem to find this particular folder.  Any help in finding it greatly appreciated.

Roger
Roger
Top achievements
Rank 2
Veteran
 answered on 19 Nov 2008
1 answer
135 views
I have 3 combos on a page, the item selected in combo 1 determines the items displayed in combo 2 and the item selected in combo 2 determines the items in combo 3.  Ive used the ItemsRequested event and it all seems to work ok, but with one problem.  Whenever I need to refer to the selecteditem.value of combo 1 in my code behind, its always set as the first item in the list regardless of whats been selected, so im assuming the view state hasnt been updated because of the AJAX postbacks.  How can I get the selected value ?

Ivre tried the ClientItemsequestiong event but it too always has the firts item in the list.  This is what Ive tried

 

function OnClientItemsRequesting(sender, eventArgs) {  
                var context = eventArgs.get_context();  
                var typeCombo = $find("<%= RadComboBoxArtistType.ClientID %>");  
                context["FilterString"] = typeCombo.get_text();  
                var sel = typeCombo.get_text();  
            } 
<telerik:RadComboBox ID="RadComboBoxArtistGenre" Runat="server" OnClientSelectedIndexChanging="LoadCategories" OnClientItemsRequesting="OnClientItemsRequesting" 
                    OnClientItemsRequested="ItemsLoaded" Skin="Office2007"    
                    Width="250px" onitemsrequested="RadComboBoxArtistGenre_ItemsRequested"   
                        EnableLoadOnDemand="true" > 
                    <CollapseAnimation Duration="200" Type="OutQuint" /> 
             </telerik:RadComboBox> 
Veselin Vasilev
Telerik team
 answered on 19 Nov 2008
7 answers
111 views
Hi,

We have a public MOSS2007 publishing site, with one ActiveDirectory authenticated editor site, that is extended to an anonymous site. Content editors edit the content on the AD authenticated site using the full featured RadEditor for MOSS2007 v.4.3.2.0, and it gets posted to the anonymous site.
Problem is that when the content editors upload an image or a document using the Image Manager or the Document Manager the file is put into the document library in draft status and is never checked in, resulting in the file not being visible to anonymous users. Content editors then have to navigate away from the page they are editing, go to the document library and check in the file. We would like to avoid this, preferably so that the file gets checked in automatically, or if that is not an option, allow the content editors to somehow check in the file directly from the RadEditor.
I have tried messing with the list settings in MOSS, trying to get the list to display files that haven't been checked in to anonymous users, with no result.

Any ideas?
Stanimir
Telerik team
 answered on 19 Nov 2008
8 answers
551 views
Hi
How do you set the width of the drop down list displayed for a GridDropDownColumn in add/edit mode?  I want the edit boxes and drop down lists to be the same width without defining edit templates for each column

Thanks

Russ
Top achievements
Rank 1
 answered on 19 Nov 2008
5 answers
341 views
I have a search form above my grid.  When the page loads there is a container for the grid, however it is not populated with data until a search has been performed.  How can I show the empty grid on page load?  I have a ajaxManager that shows the loading.... image and it is not showing up on the first search and I would like it to be displayed.

Thanks!
Sebastian
Telerik team
 answered on 19 Nov 2008
4 answers
205 views
I have a radmaskedtextbox and a numerictextbox on my form as follows

 

<rad:RadMaskedTextBox ID="txtZip" Mask="#####-####" Width="60px" runat="server"

 

BackColor="#CCCCCC" Enabled="False">

 

</rad:RadMaskedTextBox>


<
rad:RadNumericTextBox ID="txtLocationCode" MaxLength="2" Width="19px"

 

 

runat="server" BackColor="#CCCCCC" Enabled="False" Skin="Vista">

 

<NumberFormat AllowRounding="True"></NumberFormat>

 

</rad:RadNumericTextBox>

I want them to be disabled and grey background by default.

I have a checkbox on the form that when click I want to enable a group of controls and set their background back to white.

When I enable them I also set there background color to white.
However during mouseover the background goes back to the #CCCCCC color, Here is the javascript for the checkbox onclick event:

 

function

 

FormControls()

{

 

    if (document.getElementById("ctl00_ContentPlaceHolder1_chkNewOffice").checked == true)

    {

        document.getElementById(

"ctl00_ContentPlaceHolder1_chkUseOnWebsite").disabled = false;

 

 

        document.getElementById(

"ctl00_ContentPlaceHolder1_chkUseOnWebsite").parentElement.disabled=false;

 

 

        document.getElementById(

"ctl00_ContentPlaceHolder1_txtLocationCode_text").disabled = false;

 

 

        document.getElementById(

"ctl00_ContentPlaceHolder1_txtLocationCode_text").style.backgroundColor = '#FFFFFF';

 

 

    }

else{

 

 

        document.getElementById(

"ctl00_ContentPlaceHolder1_chkUseOnWebsite").disabled = true;

 

 

        document.getElementById(

"ctl00_ContentPlaceHolder1_chkUseOnWebsite").parentElement.disabled = true;

 

 

        document.getElementById(

"ctl00_ContentPlaceHolder1_txtLocationCode_text").disabled = true;

 

 

        document.getElementById(

"ctl00_ContentPlaceHolder1_txtLocationCode_text").style.backgroundColor = '#CCCCCC';

 

 

    }

}

 

 

What else do I need to enable to get rid of the #CCCCC background on mouseover?

Thank You,

Coty

 

 

 

Dimo
Telerik team
 answered on 19 Nov 2008
4 answers
226 views
Everything I've seen concerning this suggests that this code should validate correctly when your focus leaves RadDateInput2. Instead, valid dates which are later than the initial date produce errors - in fact, any valid date entered in the second box produces a validation error. What am I doing wrong?

<%@ Page Language="C#" AutoEventWireup="true" Codebehind="Test.aspx.cs" Inherits="TestProject.Test" %> 
 
<%@ 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>Untitled Page</title> 
</head> 
<body> 
   <form id="form1" runat="server"
      <div> 
         <telerik:RadScriptManager ID="RadScriptManager1" runat="server" /> 
         Date 1: 
         <telerik:RadDateInput ID="RadDateInput1" runat="server" SelectedDate="09/19/2008" /> 
         <br /> 
         <br /> 
         Date 2: 
         <telerik:RadDateInput ID="RadDateInput2" runat="server" /> 
         <br /> 
         <asp:CompareValidator ID="CompareValidator1" runat="server" ErrorMessage="Date 2 must be greater than or equal to date 1." 
            ControlToCompare="RadDateInput1" ControlToValidate="RadDateInput2" Type="Date" 
            Operator="GreaterThanEqual" /> 
      </div> 
   </form> 
</body> 
</html> 
 

AJtheCoder
Top achievements
Rank 1
 answered on 19 Nov 2008
1 answer
72 views
Hello Telerik, I've been using RadControls Q2 2007 for .NET 2.0 for a long time and now we want to upgrade to the newest version of RadControls (2008 Q3). I notice as part of my project I have a folder called RadControls which contains various Scripts, Skins, Images etc for the RadControls to use. I'm wondering if this folder should be removed or if it should just stay there while upgrading. I couldn't find a newer version of this folder in C:\Program Files\Telerik\RadControls for ASPNET AJAX Q3 2008 (for the older version...the folder can be found in C:\Program Files\Telerik\RadControls for ASP.NET Q2 2007\NET2\RadControls). Should I remove this folder from my website project? If so, is there anything that should replace it?

Thanks.
Maria Ilieva
Telerik team
 answered on 19 Nov 2008
4 answers
116 views
Hi.. I have the following code - to display a message box. But the code runs on every postback displaying the message. How do I prevent this?
thanks again

 

protected void btnPrintLabels_Click(object sender, EventArgs e)

 

{

RadAjaxManager1.ResponseScripts.Add(

@"Sys.Application.add_load(function()

 

{radalert('Under Construction...', 250, 100);})"

 

);

 

}

Jon
Top achievements
Rank 1
 answered on 19 Nov 2008
2 answers
177 views
hello all

does nayone know if telerik updates the tdf dictionary and where i can get the latest version

thanks


Rumen
Telerik team
 answered on 19 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?