Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
86 views
Hi,

I am using RadNumaricTextBox  in my project.

I am able to set decimal digits using    RadNumericTextBox.NumberFormat.DecimalDigits
similarli i want to set Numaric length
ex:If i set Numaric Length 4,and decimal 2 then the textbox allow only
1234.23

Is it possible
Dimo
Telerik team
 answered on 20 Oct 2010
0 answers
107 views
Hi,
Can you please let me know how to set the default Asp.net css styles to the Rad dropdown. Since my application has around 10 asp.net dropdowns and 2 telerik combobox. The UI for the default asp.net and telerik controls looks very much difference. Is it possible to assign default css to telerik combo box so that  both the controls looks same.

Thanks,
Anbu
Anbu
Top achievements
Rank 1
 asked on 20 Oct 2010
1 answer
243 views
Hello,

I have a design question.  I have several products for different customers the business functionality is different however the UI is very similar.  I have four separate login pages that I'm in the process of attaching a product type and that product type determines the skin I use.  I want to be able to use a single WEB.CONFIG like this:
<appSettings>
   <!-- Sets the skin for all RadControls to Hay -->
   <add key="Telerik.Skin" value="Hay"/>
    <add key="Telerik.Skin" value="Office2007" />
    <add key="Telerik.Skin" value="Outlook" />
    <add key="Telerik.Skin" value="Sunset" />
</appSettings>
Based on the product login page I pass a product type parameter to retrieve the correct appSettings value
for the entire product site.  Has anyone done this.  Basically it's using Polymorphism but I'd
like to know if someone has tackle this challenge with Telerik

Thank You 
Dimo
Telerik team
 answered on 20 Oct 2010
7 answers
102 views
I am developing one prototype application. In that application i have a radgrid within a rad panel. The rad grids are bound to a xml data source control. After postback the rad grid control is not displaying the grid texts but it recognizes the items in the data source and displaying that many rows. Only the text are not displaying.


Pavlina
Telerik team
 answered on 20 Oct 2010
2 answers
127 views
Hello, 

    I Have a problem when i'm open a RadWindow with the next code in the OnClickClient event in a asp:button :

       return blockConfirm('Seguro que quieres eliminar este registro?', event, 330, 100,'','Aviso del sistema');

    The problem is, the RadMenu is on the Confirm box, like the modal background z-index of RadMenu is higher than the bottom of the RadConfirm Background, I manually edit the RadMenu z-index but it stil happening.

 

<telerik:RadMenu ID="RadMenu1" Runat="server" Flow="Vertical" Height="115px" 
Skin="Web20" style="z-index: 0" >
</telerik:RadMenu>

    Did you know what's happening? or how can i fix that?

    Thank's!
Carlos Valdez
Top achievements
Rank 1
 answered on 20 Oct 2010
2 answers
92 views
hi all,
 Is there any control is available which represents the buttons.i want buttons which looks good and rich,but i didn't find any button controls in the documentation, demos,and videos,pls send any information which tells about the radButtons.


thanks,
ravi
Cori
Top achievements
Rank 2
 answered on 20 Oct 2010
1 answer
101 views
Hello guys,

I have one page,which contains one rad combo box.When I run this page individually at that time rad combo box shows properly .But when I run it inside IFrame ,then it shows one unnecessary icon .

I am attaching snaps of this issue .

If anybody know about this ,then please help.

-Thanks
Yana
Telerik team
 answered on 20 Oct 2010
5 answers
112 views

Hi

panelBar.set_cssClass() method doesn't seem to work on my project.

childItem =

new Telerik.Web.UI.RadPanelItem();

 

childItem.set_text(msgNoRecords);

childItem.set_cssClass(

"noDisplayClass");

 

 

 

...add item follows...


Am using this version:  2008.1.515.35

Any idea?

Thanks

mackey

 

Cori
Top achievements
Rank 2
 answered on 20 Oct 2010
9 answers
174 views
I've tried to set client side focus to the first field in a tab using the OnClientTabSelected function of the tabstrip. It doesn't set focus...

Below is  my html:

<

 

telerik:RadTabStrip ID="tsPatientDemographics" runat="server" AutoPostBack="false" OnClientTabSelected="HighlightInitialTabField"

 

 

ScrollButtonsPosition="Right" MultiPageID="RadMultiPage1" BackColor="Gray" CausesValidation="False"

 

 

Align="Left">

 


Below is my js:

 

function HighlightInitialTabField(sender, eventArgs) {

                var selectedTab = eventArgs.get_tab();
               
                if (selectedTab != null) {
                    var selectedTabValue = selectedTab.get_text();

                    if (selectedTabValue == "Patient") {
                        var HospAcctno = document.getElementById("HospAcctno");
                        HospAcctno.focus();
                    }
                    else if (selectedTabValue == "Guarantor") {
                        var GuarRelToPat = document.getElementById("GuarRelToPat");
                        GuarRelToPat.focus();
                    }
                    else if (selectedTabValue == "Pri Ins") {
                        var priInsCode = document.getElementById("priInsCode");
                        priInsCode.focus();
                    }
                    else if (selectedTabValue == "Sec Ins") {
                        var secInsCode = document.getElementById("secInsCode");
                        secInsCode.focus();
                    }
                    else if (selectedTabValue == "Ter Ins") {
                        var terInsCode = document.getElementById("terInsCode");
                        terInsCode.focus();
                    }
                }
            }

When I use the onblur client side event to set focus on a field with another function, it works fine using the same type of syntax above.

During debugging, I am positive that one of the "elses" are hit and it goes into trying to set focus.

Any reason why it doesn't work with the OnClientTabSelected event?

sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 answered on 20 Oct 2010
2 answers
162 views
Please study this scenario:
  • Bind grid data at OnNeedDataSource event with a simple datatable.
  • RadGrid allow paging, with PageSize = 10 items (for example)
  • At top of grid some controls (textboxes, comboboxes, etc.) for filter grid rows.
Well, now interact:
  1. Launch search and found 1000 items (10 items per 10 pages).
  2. Go to last page.
  3. Launch search and found 20 items (10 item per 2 pages)
  4. Oh my god!!! Nothing ??? No rows returned ??? How it's possible? If I set a breakpoint at NeedDataSource event, grid datasource has 20 rows !!!
The secret is CurrentPageIndex, when we go to last page property value is 10, but when launch the second search (Rebind()) the data is binded, but CurrentPageIndex isn´t reset, the value still at 10 but new datasource only has 2 pages.

The solution is easy, after launch search set manually CurrentPageIndex to:
a) First page
b) Last page
c) Last page, only if the new datasource has less rows
d) ...

I think that CurrentPageIndex must be updated in this cases to last page (or first page) of new datasource (equal to in pager mode advanced) or at least throw and exception, because find this little "error" is difficult (i spent a lot of minutes).
Dimo
Telerik team
 answered on 20 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?