Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
154 views
How can I change the text "Items X out of Y" and "No Matches" in the show more results box.

JH
Nikolay
Telerik team
 answered on 03 Apr 2008
1 answer
160 views
I installed the futures build on my dev machine to start testing the new TabStrip and MultiPage controls and have found the following problem on my page that has a couple of Charts on it.

They loaded fine in the older Prometheus version, but in the new Futures version, I get the following error:

BC30560: 'Unit' is ambiguous in the namespace 'Telerik.Charting.Styles'.

I can't seem to find any place in my code where I've used the term Unit. Is this a known issue that is going to be fixed in the final release?
Ves
Telerik team
 answered on 03 Apr 2008
5 answers
219 views

Hi!
I've read and read all day and I believe noone has written about how to update a for instance a label inside CommandItemTemplate client side when selecting some rows in the grid.
In my case I have

<
telerik:RadGrid ID="RadGrid1" runat="server"  AllowMultiRowSelection="true" >
<ClientSettings>
<Selecting AllowRowSelect="true" />
</ClientSettings>
<MasterTableView CommandItemDisplay="Top" DataKeyNames="Id" Width="100%">
<CommandItemTemplate>
<asp:Label ID="Totall" runat="server" ></asp:Label>
</CommandItemTemplate>
<Columns>

<
telerik:GridBoundColumn DataField="Id" HeaderText="Id" ReadOnly="True" UniqueName="Id" Visible="false">
</telerik:GridBoundColumn>

<
telerik:GridBoundColumn DataField="Amount" HeaderText="Amount" SortExpression="Amount" UniqueName="Amount" DataFormatString="{0:N2}">
<HeaderStyle Width="50px" />
</telerik:GridBoundColumn>

<telerik:GridClientSelectColumn HeaderStyle-Width="20px" ItemStyle-Width="10px" UniqueName="Select1" />

</Columns>
</MasterTableView>
</telerik:RadGrid>

How do I get the selected amounts from each row and show the total selected amount in label "Total" in the CommandItemTemplate?  (and keep selected rows selected)
Thanks a million in advance and best regards.
Soren.

Soren
Top achievements
Rank 1
 answered on 03 Apr 2008
2 answers
96 views
Hello!

I use following JavaScript code to force a postback with "TextChange" event on some radComboboxes and radTextboxes, but always one event fires. Any Ideas?


           objControl = $find("rcboMatJobNo")  
           objControl.set_text("Job")  
           __doPostBack(objControl.get_id(), '{\"Command\":\"TextChanged\"}', "")  
 
           objControl = $find("rtxtMatAmount")  
           objControl.set_value("Amount")  
           __doPostBack(objControl.get_id(), '{\"Command\":\"TextChanged\"}', "")  
 
           objControl = $find("rtxtMatPrice")  
           objControl.set_value("Price")  
           __doPostBack(objControl.get_id(), '{\"Command\":\"TextChanged\"}', "")  
 
           objControl = $find("rcboMatMaterialNo")  
           objControl.set_text("Mat")  
           __doPostBack(objControl.get_id(), '{\"Command\":\"TextChanged\"}', "")  
 
Markus
Top achievements
Rank 1
 answered on 03 Apr 2008
1 answer
90 views
Hello,
I'm doing as much as I can serverside.  I have a node on a treeview.. and in the text I add a count of children nodes the parent has to the text of the node.

Upon editing the text, the count is still there...  and I'd have to delete it everytime i wanted to make a change to the text.

What's the best way to programmatically remove the count I append to the text in order to properly edit the node?   Can it be done serverside?
Nikolay
Telerik team
 answered on 03 Apr 2008
8 answers
218 views
Hi

We have 1 problem we need to solve.  It's a very specific one.  The scheduler works perfect if the  start time is a round hour, for ex 7 or 8.  But when it is 7.30 AND the duration of an appointment is 20 minutes, the height of the appointment is twice as big as should be.

I have an example : [img]http://img.skitch.com/20080303-pfm1cxqp3iax2arts36hg2ijeu.jpg[/img]

You can see that on wednesday it works perfect, appointments between 10 and 12.  But on monday, it's between 7.30 and 12 and the height is incorrect.

If we check the html the scheduler created, we see that you guys print a 200% on the div?

<td class="rsCell"><div class="rsWrap" style="z-index: 36;"> 
    <div title="07:30" id="ctl00_placeActionZone_Ant_calendar1_radCalendar_35_0" class="rsApt" style="height: 200%; width: 45%; padding-bottom: 2px; left: 0%;"> 
    <div class="rsAptWrap" style="padding-bottom: 1px;"> 
        <div class="rsAptInner"> 
            <div class="rsAptContent"> 
 <div class="appointement free" style="background-color: rgb(255, 255, 0); color: rgb(17, 17, 17);"> 
            <img src="images/general/trans.gif" class="appointement_icon">07:30 </div> 
     
                                            </div> 
</div><a class="rsAptDelete" href="ant_modules/#">delete</a><div class="rsAptResize" style="z-index: 80;"> 
                                            <!-- --> 
                                        </div><div class="rsAptBottom"> 
                </div> 
 
            </div> 
            </div> 
    </div></td> 


Any ideas how we can solve this problem?

Andres
Top achievements
Rank 1
 answered on 03 Apr 2008
1 answer
98 views
Hi,

I am tring to changethe existing skin for Grid.I am making the change on Vista skin.Right now I change to background color of grid by giving like this in the CSS file.
.RadGrid_Vista
{
    border:1px solid #a7bac5;
   /* background:#fcfcfc;*/
    color:#333;
}

My problem is I want to change the header and footer also like this.How can I do that? Which property I have to change?

Regards,
Jincy
jincy
Top achievements
Rank 1
 answered on 03 Apr 2008
1 answer
158 views
Hi  I have an issue with exporting RadGrid Prometheus to excel.

1. I am using radgrid with Footer. Footer contains totals of the columns. When I try to export the data to excel, my footer comes on the TOP of data, just below the header.  Is there any way that I can make the footer appear at the end of the rows?

Thanks!

Emeleen
Steve
Telerik team
 answered on 03 Apr 2008
1 answer
202 views
On the click event of a checkbox, we want to disable a RadDatePicker. As per the help (ms-help://MS.VSCC.v80/MS.VSIPCC.v80/telerik.radcontrols.prometheus.2007.Q3/telerik.radcontrols.prometheus.2007.Q3/cldClientSideAPI.html) we act on the dateInput and the popupButton.

But when the RadDatePicker is disabled, when there is a postback, an exception is thrown during the client side "dispose" of the component.

This is the part of the code used to enable/disable the RadDatePicker
....
        var datePickerInput= control.get_dateInput();
        if ( enableFlag && !datePickerInput.get_enabled())
        {
            datePickerInput.enable();
            $addHandler( control.get_popupButton(), "click", control._onPopupButtonClickDelegate);
        }
        else if ( !enableFlag && datePickerInput.get_enabled())
        {
            datePickerInput.disable();
            $removeHandler( control.get_popupButton(), "click", control._onPopupButtonClickDelegate);
        }
....
Is there another way to completly disable the RadDatePicker? Or is there a way to prevent the exception to be thrown when no handler is installed on the popupButton?

Thanks,

Hugues Ferland
Konstantin Petkov
Telerik team
 answered on 03 Apr 2008
7 answers
293 views
Hi,

    What should I need to do to apply this feature even to newly created sites? I was able to deploy this feature in my site and I am able to use it now in my blog site. But I need a way to automatically apply this feature to newly created sites. What do you suggest I should do?

Thanks!
Arthur
Lini
Telerik team
 answered on 03 Apr 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?