Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
378 views
Hi,

I will explain what behavior I want and would like to know if that is possible or if there is any workaround.

I have a RadNumericTextBox control called txtNumber created. But from the backend-code, I'd like to feed any type of variable(string, double, int) instead of just numeric types and still be able to display the string value in the textbox. But from the UI, user should only be able to type numbers and as user loses focus from the textbox, number inside the textbox should do the reformatting (putting thousand separators and decimal points, etc. like regular RadNumericTextBox). Is there a way I can do this? or is there a way I can use other types of textbox so it can have string value but limit user inputs to numeric types and do the reformatting?

Thank you very much in advance.
Ryan Kim
Top achievements
Rank 1
 answered on 01 Mar 2010
1 answer
190 views
I have multi-page grid and no something special about it.
However, when i try to use 'grouping' feature to group my records visually by one of columns (server_id, integer type) - I am getting 'Arithmetic overflow' error!

I tried another column, string type - vain, the same error!

What is wrong?

p.s. I will not show sample of the code here, because there is really nothing especial about it. It's a working grid, no bugs, sorting, paging - this is all correct. SelectFields, GroupByFields are correct also.
Tsvetoslav
Telerik team
 answered on 01 Mar 2010
8 answers
938 views
Hi
          I need to set the visibility of <div> tag placed inside the EditFormTemplate.
Ex: I have a Show button in the EditFormTemplate, and i also have <div id="divSearch" runat="server">. I just need to show this div tag when only the Show button clicks.

I used to apply the style tag for div dynamically like 

divSearch.Style[

"display"] = "block";    and i also tried

 

divSearch.Visible=true;

But the above scenarios doesnt work for me. I could not get control over the div and also i am not able to show the div tag.

--Thanks

Dimo
Telerik team
 answered on 01 Mar 2010
1 answer
145 views

i am using a tabstrip, some tabs of which are inintially disabled via markup code:

<Tabs>
    <telerik:RadTab Text="Arrangement" Value="Arrangement" />
    <telerik:RadTab Text="Specials" Value="Specials" Enabled="false" />
    <telerik:RadTab Text="Monthly Commitments" Enabled="false" Value="MonthlyCommitments" />
</Tabs>

i then have client code that enables the tabs based on certain client-side events like so:

function SelectSpecialsTab() {
    Page_ClientValidate();

    if (Page_IsValid) {
        var Tab = GetTab("Specials");
        Tab.enable();
        Tab.click();
    }

    return false;
}

this works fine.  however, everytime the server is hit via postback or ajaxmanager request client code (.ajaxRequest(string), for example), the tabs revert back to their initial enabled property settings, disabled in this case.

i've even tried taking the enabled = "false" property out of the markup and setting it in the codebehind in a !ispostback block, but it still disables the tabs.  when i take the enabled = "false" logic out completely from the markup and codebehind, the tabs stay enabled.

any idea on how to keep this from happening?

Schlurk
Top achievements
Rank 2
 answered on 01 Mar 2010
5 answers
126 views
hi

i want to fire a click event of a button from code behind w/o making a post back using radajaxmanager..

here is what i want to do:

from my master page i open a pop up

then the pop up window on close will register some session which i want to retrieve..

at pop up close i want to fire the btn click event

w/o making post back

is thath possible?.

cn u provide me the code plz?

thanks in advance

regards
webster
Iana Tsolova
Telerik team
 answered on 01 Mar 2010
9 answers
263 views
I am having an issue with loading a RadComboBox from a Web Service.  I have attempted to use the code from the demo with no luck. When I click on the RadComboBox I get an error in the ScriptResource.axd and do not know how to correct this.  Any insight would be great.

The error I get is this: 

Line: 1218
Error: 'length' is null or not an object

Thank you in advance,

Chris Salas

 

Bogdan Cucosel
Top achievements
Rank 1
 answered on 01 Mar 2010
3 answers
157 views
Is there something I can do to increase the speed that the tooltips popup with? 

It seems like the "ShowDelay" property in the RadToolTipManager would do it, but I have tried many settings and it always seems to take maybe 300 miliseconds. 

I got a sample program from another thread in these forums showing how to make a tooltip pop up when the RadInputManager throws an error.  That is working great and in the sample program the tooltips appear immediately.  I have configured my ToolTipManager exactly the same way, but mine have a delay where I would them to pop up immediately too.

Svetlina Anati
Telerik team
 answered on 01 Mar 2010
7 answers
155 views
Dear Telerik,

I'm using the Upload control in RadTabs, however when I have uploaded a file, then every tab shows the RadProgressArea.

This could be the same problem, the solution presented was a property in the RadProgressManager. Could you tell me which property this is? 

Or is it something else that causing this behavious? I'm interested in any solution.

Thanks,

Robert
Genady Sergeev
Telerik team
 answered on 01 Mar 2010
1 answer
155 views
Hi, I have a masked texbox (supplying a job code) and input manager on a page. The masked textbox has the following mask 'QJLL<0..9><0..9><0..9><0..9>',  so I want the letters QJ followed by 2 uppercase letters and 4 numbers. How can I make sure that the user has actually entered something for the job code masked textbox? The input manager is successfully validating other textboxes on the page, but I cannot see how to get it to work for the masked textbox.

Although 'L' in the mask signifies a required character, nothing seems to fire when the user simply tabs to the next control on the page instead of supplying the job code.

I don't really want to resort to a custom asp.net validator as this is not consistent with the way the rest of the page works.

Any help would be appreciated.

Regards,
Jonathan
Martin
Telerik team
 answered on 01 Mar 2010
1 answer
90 views
hi

I have set my grid to allow auto Insert, Update and delete. I have checked my stored proc and they are fine.

I am able to do an insert, an update but not delete. It gave me this error:
Object reference not set to an instance of an object.

I am  not using any ajax manager. But the way, my primary key is an uniqueidentifier. I have also set all primary key parameter to DBType="Guid"

What is wrong? Thanks
Martin
Telerik team
 answered on 01 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?