Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
89 views
I am using the rotator (I am testing it) and am runnig into this problem:

It seems it adds an extra 10px padding at the top of the container panel inside the itemtemplate
this is the code I have:

<

 

telerik:radrotator ID="RadRotator1" runat="server"

 

 

DataSourceID="ObjectDataSource1" FrameDuration="0" width="100%" ScrollDuration="2000">

 

 

<ItemTemplate>

 

 

<asp:Panel ID="Panel2" SkinID="UserPhotoStripPan" runat="server">

 

 

<small><asp:Label ID="Label1" runat="server" Text='<%# Eval("UserName")%>'></asp:Label></small>

 

 

<table border="0" cellpadding="0" cellspacing="0" class="photo-frame">

 

 

<tr>

 

 

<td class="topx--"></td>

 

 

<td class="top-x-"></td>

 

 

<td class="top--x"></td>

 

 

</tr>

 

 

<tr>

 

 

<td class="midx--"></td>

 

 

<td>

 

 

<asp:Image ID="Image1" runat="server" Width="25" ImageUrl='<%#Eval("ProfileImageURL")%>' />

 

 

<td class="mid--x"></td>

 

 

</tr>

 

 

<tr>

 

 

<td class="botx--"></td>

 

 

<td class="bot-x-"></td>

 

 

<td class="bot--x"></td>

 

 

</tr>

 

 

</table>

 

 

</asp:Panel>

 

 

</ItemTemplate>

 

 

 

</telerik:RadRotator>

 


now inside the itemtemplate there is the panel2 panel. It has the asp.net skin set to: UserPhotoStripPan which is this:

<

 

asp:Panel SkinID="UserPhotoStripPan" Width="90" BackColor="#CC66FF" BorderColor="#00CC00" BorderWidth="1" BorderStyle="Outset" style="padding: -10px;" runat="server"></asp:Panel>

 


'0' padding. or yet in this example I tried setting the [padding to a negative value to see if it would bring it up a bit, but did not...

yet when you run it it adds an extra 5px to 10px at the top of panel2

you can see this in the next few days by visiting: http://www.weedbook.ca/

there you will see the rotator scrolling thru a list of ficticious users. NOTE the extra padding at the top of the panel2 between the top and the label....??? why?
below you can see panel2 by itself just as it is and as it should be, as it was droped on its own outside of the rotator control..

any work around this?
Georgi Tunev
Telerik team
 answered on 06 Jan 2009
2 answers
145 views
Hi,

Can someone please help me to figure out to fill the form fields when the user clicks on edit button.  The grid is bound to the datasource as follows:

<Columns>
                   <telerik:GridBoundColumn DataField="InvoiceDetailID">
                   </telerik:GridBoundColumn>
                   <telerik:GridTemplateColumn DataField="ItemDescription" HeaderText="Description" UniqueName="Description">
                        <ItemTemplate>
                            <asp:Label ID="lblDescription" runat="server" Text='<%# Bind("ItemDescription") %>'>' </asp:Label>
                        </ItemTemplate>
                        <EditItemTemplate>
                            <asp:TextBox TextMode ="MultiLine" ID="txtDescription" runat="server" Height="80px" Width="200px"></asp:TextBox>
                        </EditItemTemplate>
                    </telerik:GridTemplateColumn>
                </Columns>


How do I fill txtDescription  with existing value when user clicks on Edit? I was assuming it will be field automatically but that's not the case.

Any help is highly appreciated.

Thanks.
Milan G

Milan Gurung
Top achievements
Rank 1
 answered on 06 Jan 2009
3 answers
133 views
Hi Telerik,

I would like to clarify the behavior of the Radeditor. Currently we are using the full version of the RadEditor, and I noticed that whenever I enter more than 2 asterisks and then save the item, there is an error when vewing the item. Same error goes when I enter more than 3 underscores.

Can you explain this behavior?

Thanks,
Jo Bert
Tervel
Telerik team
 answered on 06 Jan 2009
1 answer
117 views
I want to upgrade my RadChart without moving to RadControls for AJAX, specifically so I can use the Autolayout call. In what version of Chart did AutoLayout first appear?

Thanks,
K
Ves
Telerik team
 answered on 06 Jan 2009
1 answer
110 views
Regards, i have a simple question, exists Chart Dispersion , in the product ASP.NET AJAX ?
Thanks
Ves
Telerik team
 answered on 06 Jan 2009
1 answer
127 views
Hi
I am using rad grid with horizantal and vertical scroll bar .In the grid i am having 1500 records.
Here is my code for scrolling

 

<ClientSettings>

 

 

<Selecting AllowRowSelect="True" />

 

 

<Scrolling AllowScroll="True" FrozenColumnsCount="2" SaveScrollPosition="true" UseStaticHeaders="True"/>

 

 

</ClientSettings>
If i scroll horizantally it is taking lot of time compare to loading.

Thanks
Vairamuthu

 

Shinu
Top achievements
Rank 2
 answered on 06 Jan 2009
1 answer
184 views

Hi,

Are there any issues with using your RadAjaxManager and hooking it to specific events for a user control?

I have the following in my main page:

<asp:Content ID="Content1" ContentPlaceHolderID="Content1" Runat="Server">  
    <Telerik:RadAjaxManager ID="ajaxManager" runat="server" DefaultLoadingPanelID="stickyLoadingPanel">  
        <AjaxSettings> 
            <Telerik:AjaxSetting AjaxControlID="ucElementBrowser" EventName="ElementSelected">  
                <UpdatedControls> 
                    <Telerik:AjaxUpdatedControl ControlID="phElement" /> 
                </UpdatedControls> 
            </Telerik:AjaxSetting> 
            <Telerik:AjaxSetting AjaxControlID="phElement$ucElement" EventName="Save">  
                <UpdatedControls> 
                    <Telerik:AjaxUpdatedControl ControlID="lblNotification" /> 
                    <Telerik:AjaxUpdatedControl ControlID="ucElementBrowser" /> 
                </UpdatedControls> 
            </Telerik:AjaxSetting> 
            <Telerik:AjaxSetting AjaxControlID="phElement$ucElement" EventName="Delete">  
                <UpdatedControls> 
                    <Telerik:AjaxUpdatedControl ControlID="lblNotification" /> 
                    <Telerik:AjaxUpdatedControl ControlID="ucElementBrowser" /> 
                </UpdatedControls> 
            </Telerik:AjaxSetting> 
        </AjaxSettings> 
    </Telerik:RadAjaxManager> 
    <UserControl:ElementBrowser ID="ucElementBrowser" runat="server" OnElementSelected="ucElementBrowser_ElementSelected" /> 
    <CustomControls:LabelNotification ID="lblNotification" runat="server" /> 
    <CustomControls:DynamicControlsPlaceholder ID="phElement" runat="server" OnControlRestored="phElement_ControlRestored" /> 
</asp:Content> 

Looking at ucElementBrowser you can see it has an event called "ElementSelected".  I have your manager control then listening for that specific event (EventName="ElementSelected").  This seems to fire for any event though, not just ElementSelected.  Am I doing something wrong?  The same also seems to happen with phElement$ucElement (a dynamically loaded user control with a fixed name).

Also I'm having issues with the the loading panel not displaying correctly.  The LoadingPanel exists on the master page, not on this particular aspx page.  I have it specified above (DefaultLoadingPanelID="stickyLoadingPanel") but this doesn't seem to do anything.  The loading panel displays fine when using a RadAjaxPanel and specifying the same name.

Thanks
Georgi Krustev
Telerik team
 answered on 06 Jan 2009
3 answers
114 views
How do I get the reordered columns? Like Address is at the first column. But I reordered and dragged Name to the first column, the RadGrid1.Columns[0] is still referred to Address. Help
Shinu
Top achievements
Rank 2
 answered on 06 Jan 2009
1 answer
132 views
I have a grid that is set to allow multi-row editing using the AllowMultiRowEdit property. The grid's Items collection is then walked in the first pass of the grid's PreRender event (i.e. when not a postback) and each GridEditableItem has its .Edit property set to true as per the example on this site.

The problem I'm having is that when the user clicks on a grid column header to sort by that column all of my rows exit edit mode and the input controls that were previously rendered for input disappear (as would be expected when coming out of edit mode).

What can I do to preserve edit mode on all of my rows when performing a grid sort? Should I hook into a different event after sorting to set each row's .Edit property back to true? Should I do this as part of the sort? Any guidance would be appreciated!

Rob
Shinu
Top achievements
Rank 2
 answered on 06 Jan 2009
0 answers
77 views

Sir,

My radgrid is showing repeated records while taking frm the publshd prject..Dataset values are correct.ie,,no repeatition..This prbm is occuring when the system is fast..if we put the system idle,,and then refresh the IE,no repetition occuring..

I am really confused as i can get this bug when running from the visual studio..only occuring in published site....
if any idea plz help me...

 

Thanks

Priya
Top achievements
Rank 1
 asked on 06 Jan 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?