Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
140 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
132 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
163 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
225 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
182 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
7 answers
147 views

I have a GridView which displays a variety of tooltips. Some are row level, some are cell specific, others are on template controls within a cell.

Without the  RadToolTipManager, this works perfectly fine. The standard browser tooltip handler always shows the correct tooltip.

When I add the RadToolTipManager, the row tooltips take precedence over everthing else.

<telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" AutoTooltipify="true" Sticky="true">
</telerik:RadToolTipManager>

So in the end all the other controls show tooltips correctly and all GridView row level tooltips show correctly but when a row has both cell, control and row tooltips together, the row (which is the less specific and lower precedence) tooltip always shows.

Is there a way to make this work the same way it would work normally? I want the look of the telerik tooltips and my skin but the functionality of the standard tooltip event handler for control precedence.

Svetlina Anati
Telerik team
 answered on 20 Oct 2010
3 answers
103 views

Is there a way to make a column with image draggable (when selecting the image with the mouse, and then start dragging)?

A normal GridBoundColumn is automatically draggable. But it doesn't seem to work well with other types of Columns.

I've tried a GridDragDropColumn (and increasing the image size, but unsuccessful). 

I also tried a GridButtonColumn and a GridTemplateColumn. 

Thanks,

Koen

Marin
Telerik team
 answered on 20 Oct 2010
1 answer
158 views
Hi Team,

I am using a Hierarchical grid which has dynamic columns generated at code behind,
for this the Master table and Details table both has same columns so i am making the header visible as false
for the Details table,

but the issue is the details table columns are not getting aligned properly with the
master table headers even though i give fixed and same column width for both master and details table header columns.

pls guide.

Regards.
Marin
Telerik team
 answered on 20 Oct 2010
2 answers
338 views
Hello Everyone,

I want to be able to expand the RadGrid withouth client-side event.  That way the data will flat and visible.  I looked aroun in the property and I couldn't see any option that will allow me to auto expand on page load.

Can anyone please let me know if what I am trying to do is possible and if is it how I can go about doing it?

Thanks in advance!

Abdalla
Abdalla
Top achievements
Rank 1
 answered on 20 Oct 2010
3 answers
634 views
Hi Im just new, Please give an example code on how can you capture the event when a user click the expand and get an item in the row which is clicked and then display it in the expanded panel.

Thanks!
Dimo
Telerik team
 answered on 20 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?