Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
105 views
I got this error when I create a Radtextbox control in my page.

Script control 'txtRechazoComentarios' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl


My aspx goes like:
<telerik:RadMultiPage ID="rmpTabs" runat="server" SelectedIndex="0">
    <telerik:RadPageView ID="rpvSolicitud" runat="server">
        ...
        <telerik:RadAjaxPanel ID="rapAutorizaRechaza" runat="server">
            <asp:Panel ID="PanelAutorizaRechaza" runat="server" Visible="false">
                ...
                <telerik:RadTextBox ID="txtRechazoComentarios" runat="server" Visible="true" TextMode="MultiLine" Width="98%" Height="98%" >
                    <ClientEvents OnLoad="MostrarTxtRechazo" />
                </telerik:RadTextBox>
                ...
            </asp:Panel>
        </telerik:RadAjaxPanel>
        ...
    </telerik:RadPageView>
</telerik:RadMultiPage>


and the scripts:
function MostrarTxtRechazo() {
            var rechazo = document.getElementById('hdnRechazar');
 
            if (rechazo != null && rechazo.value == 1 && (TieneInnerHTML('<%= lblErrorMotivo.ClientID %>') || TieneInnerHTML('<%= lblErrorPassword.ClientID %>'))) {
                MostrarElemento('lblRechazoComentarios');
                MostrarElemento('divRechazoComentarios');
            }
        }


I already tried the RegisterWithScriptManager="false" property, but hen I got some weird error saying:
Microsoft JScript runtime error: Object doesn't support property or method '$'
at Telerik.Web.UI.WebResource.axd
var d=$telerik.$(a);

can you guide me through this?
thanks

-E
Edith
Top achievements
Rank 1
 answered on 17 Jun 2011
20 answers
749 views
We use rad numeric text boxes in a web application that switches culture based on the user.
Everything works fine except the key under the 3 on the keypad is a point "."  and the rad numeric textbox won't take it as the decimal separator (comma in French) when the culture if in French.  I have been shown that in Excel it switches it to a comma.  Everything else related to the other Rad Controls react exactly as expected in the French culture. Does anyone have any recommendations on how to deal with this?
Any suggestions would be greatly appreciated.
Thanks,
Jeff
Stefano
Top achievements
Rank 1
 answered on 17 Jun 2011
0 answers
84 views
In the code-behind I am attempting to see what the "bind" value is for Text='<%#Bind("firstname") %>'.  The answer I am looking for in the example is "firstname". 
I know there has to be a way of accessing that value so any ObjectDataSource or other binding method can be used for setting that value when the RadTextBox is displayed or updated.
You may ask why?  I am attempting to create a generic way to pre-set values when inserting by using the Bind attribute/property's value.

I hope I made myself clear
Thanks
Kelly
Kelly Harris
Top achievements
Rank 1
 asked on 17 Jun 2011
6 answers
268 views
The following represents the grid I am trying to construct:

DateReceived    DateShipped           Days
01/20/2011             NULL                      30
04/01/2011          04/15/2011               15
04/10/2011          04/12/2011                 3
01/15/2011          04/2/2011                   2

Columns one and two are populating successfully from my SqlDataSource.  No problem there.  Column three is intended to be a calculated value that displays the number of active days for a given date range.  For example, if the given start date was 4/1/2011 and the given end date was 4/30/2011, we would calculate 30, 15, 3 and 2 for the four rows in the grid.  That's because the first data record row represents an item that was received in January and has not been returned.  Therefore it was held for the entire 30 days of the month of April, 2011.  The next rows are self-explanatory.

To capture the date range I have a RadComboBox for month and another for year.

To summarize, my question is how do I implement an expression for column three to calculate the correct number of days? I'm happy to do this server side or client side.

*Note: I'm using mm/dd/yyyy notation.
Daniel
Top achievements
Rank 1
 answered on 17 Jun 2011
1 answer
313 views

Hi i am implemented radgrid filter in my code.

I do the following steps:

I have dropdown as filter in one of the column and two datepickers in other column
When i filter using the dropdown and clearing it works fine,
But when i filter using date pickers and clearing it ,The grid result set is filtered.

Now when I provide a new search condition and click on the Go button, the radgrid is populated but the filter condidtion provided in the previous case in not cleared.
Can someone provide me the code to clear the filter expression ???

It is extremely urgent. 




Thanks & Regards 
Karthik
Casey
Top achievements
Rank 1
 answered on 17 Jun 2011
2 answers
107 views
Hi All

I have a Radgrid placed inside a PageView for a TabStrip,
The Grid slightly overflows the border of the TabStrip but if i sort by dragging a column header to group the grid completely overflows the border of the TabStrip?

Any ideas on how a can resolve this please.

Many Thanks

Regards

Darren
Jon
Top achievements
Rank 1
 answered on 17 Jun 2011
1 answer
52 views
Hi

I just cann't seem to wire up my grid to issue a server side event on a row selection.

I see there is a client side event.

Do I have to use that and then issue a post-back myself?

TIA
Casey
Top achievements
Rank 1
 answered on 17 Jun 2011
1 answer
86 views
Hi,

my workmate already installed control for our project with vs2010, but he will leave soon, so I delete his installation , then I download new copy of product and installed it. but the follow bug occurred which didn't happen before. could  you give me a help?


 

Server Error in '/zPortalInHouse' Application.

The value '31/12/9999' of the MaximumValue property of 'EDDRangeValidator' cannot be converted to type 'Date'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: The value '31/12/9999' of the MaximumValue property of 'EDDRangeValidator' cannot be converted to type 'Date'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): The value '31/12/9999' of the MaximumValue property of 'EDDRangeValidator' cannot be converted to type 'Date'.]
   System.Web.UI.WebControls.RangeValidator.ValidateValues() +1346298
   System.Web.UI.WebControls.RangeValidator.ControlPropertiesValid() +12
   System.Web.UI.WebControls.BaseValidator.OnPreRender(EventArgs e) +36
   System.Web.UI.Control.PreRenderRecursiveInternal() +103
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Control.PreRenderRecursiveInternal() +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2496

Andrey
Telerik team
 answered on 17 Jun 2011
1 answer
103 views
I have been trying to launch the Tekerik.Sales.Dashboard demo.

I have updated the Telerik.OpenAccess references to point to the installed dlls instead of the ones that came with the demo project.

I am getting the following errors now:

Error 1 Using the generic type 'Telerik.OpenAccess.Query<T>' requires 1 type arguments C:\Users\myusername\Downloads\SalesDashboardSource\SalesDashboard\Telerik.SalesDashboard.Web\App_Code\SalesDashboardService.cs 11 26 C:\...\Telerik.SalesDashboard.Web\

Error 1 The type or namespace name 'Web' does not exist in the namespace 'Telerik' (are you missing an assembly reference?) C:\Users\myusername\Downloads\SalesDashboardSource\SalesDashboard\Telerik.SalesDashboard.Web\App_Code\ToolTipWebService.cs 14 15 C:\...\Telerik.SalesDashboard.Web\

Is there any link that shows how to get rid of all these errors and launch this demo app??????????????????????????

Thanks



Alexander
Telerik team
 answered on 17 Jun 2011
1 answer
83 views
Hej,
Is there any possiblity to filter only existed items. I mean situation when i type an incorrect text, radcombobox take the first (or other) item.

Best regards,
Dimitar Terziev
Telerik team
 answered on 17 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?