Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
186 views
Hello,

I'm using RadRotator to display image and its ID from DB:
<telerik:RadRotator ID="thumbRotator" runat="server" RotatorType="Buttons" WrapFrames="false" Width="750px" Height="150px" ItemWidth="150px" ItemHeight="150px" >
      <ItemTemplate>
         <img id="imgAvatar" src='ViewImage.ashx?avatar=<%# Eval("ID") %>&width=150&height=150'
             alt="Avatar Image" style="border: 0px; cursor:pointer;" />
         <label id="label1" runat="server" title='<%# Eval("ID") %>'>
         </label>
      </ItemTemplate>
   <ControlButtons LeftButtonID="img_left" RightButtonID="img_right" />
</telerik:RadRotator>
There is a button on my WebPage which deletes record from DB. I use ajax request of RadAjaxManager:
function confirmCallBackFn(arg) {
   if (arg) {
      var id = HiddenField.Get('ID');
      if (id > 0) {
         var ajaxManager = $find("<%= RadAjaxManager1.ClientID %>");
         ajaxManager.ajaxRequest('delete:' + id);
      }
   }
}

On Server side I delete record and do 
thumbRotator.DataBind();
So the rotator updates itself.
Everything works fine, except every time when I delete a record, I need to scroll back to the last position.
Imagine hundreds of images, I scroll through them, find one to delete, and then scroll again. A bit annoying.
I tried to set InitialItemIndex, but I've got mess
I tried to addCssClass, and was able to hide image, but it left empty cell in rotator.
So my question is there a way I can remove item from rotator on client side?

Thank you.

Regards,
Sergei
Sergei
Top achievements
Rank 1
 answered on 25 Aug 2011
2 answers
139 views
Hi there,

I have question on setting default file extension for the pop up file explorer (in my attachment).
Is it possible to set a default file extension there?

Thank you.
Andy Taslim
Top achievements
Rank 1
 answered on 25 Aug 2011
2 answers
98 views
My Data Format Look like This : DDate,Year,Value
in LinqDataSource_Selecting base of RadioButton i get a year , 2years or 3 Years Data
and then if selection is 2 or 3 years data then i set DataGroupColumn = "Year"

if for fist time i select 3 years then move to 2 years or this year every thing is fine

if for fist time i select 2 years then move to this year is Ok, But if go to 3 years chart will show just 2 group in chart and legend !!

if for fist time i select this year , and then i go to 2 or 3 years still will show me 1 group in chart and legend

i can see i chart data items every thing works as the it should be but just it is not showing new groups !!

is there anyway i can force chart to Re-group it's self
Ashim
Top achievements
Rank 1
 answered on 24 Aug 2011
2 answers
67 views
Is there anyway to get rid of the whitespace above my appointments in each cell?
Michael Constantine
Top achievements
Rank 1
 answered on 24 Aug 2011
1 answer
142 views
I wrote a page to replace an existing application using another product, so I was constrained in trying to replicate existing functionality.  To whit:  there are 2 updatable columns on a grid: a date and a quantity.  Both update without confirmation on the event triggered when either of them is changed.  Only problem is, I don't know how or where to give the update command so the edit mode closes after an update.

I am executing javascript on both so I could
     $find("<%= RadGrid1.ClientID %>").get_masterTableView().updateItem(editedRow);

where editedRow is set on the edit command but where do I put the command?
Elliott
Top achievements
Rank 2
 answered on 24 Aug 2011
2 answers
87 views
Hi all, 

I'm looking for some help regarding nested tabstrips and multipages/pageviews.

I have the following structure:
default.aspx
   Tabstrip (mainTabStrip) with dynamic tabs using contentURL.  e.g. Account.aspx
        Account.aspx holds another tabstrip (accountTabStrip) loading pages using contentURL  e.g. Stock.aspx, Orders.aspx
              Orders.aspx contains a radgrid with a list of orders. 
              When an order is clicked I want to open a new tab in mainTabStrip as opposed to the fixed tabstrip in Account.aspx (accountTabStrip)

My question is: How do obtain a refrence to mainTabStrip in default.aspx from pageviews below this?

I hope this is clear, but can provide more detailed info if required.

Cheers in advance for any suggestions.

Rich
RichJ
Top achievements
Rank 1
 answered on 24 Aug 2011
5 answers
148 views
I have a Hierarchical RadGrid with CommandItems to Add New, Refresh and Export to Excel. This was created in a class and then displayed onto a content page. I have also created a WorkFlow usercontrol that displays in a RadWindow intended to be used for the user to Add New and Edit the records. How can I change the AddNew command to launch a RadWindow containing the usercontrol? I know I can call a control from GridFormEditType but I would like to keep the window

Thanks
Tim
Top achievements
Rank 2
 answered on 24 Aug 2011
3 answers
97 views
Friends,

We have some legacy applications and we need to update them to use RadControls ASP.Net.

Is it possible? How can I do?

Thanks,
Welsinner.
Sebastian
Telerik team
 answered on 24 Aug 2011
2 answers
79 views
I have a request to change the color of days and make the days read-only based on today's date plus 10 days.

For example, today is August 22, I would like to change the color of days (or hide them) and make them read-only from September 1st back.

(August 22 + 10 days = Sept 1st)

Is this possible?

Thank you in advance.
Allan
Top achievements
Rank 2
 answered on 24 Aug 2011
1 answer
115 views
Hello,

We have a few pages that will use a grid with grouping enabled. However the visual design we have been given requires the expand collapse icon to appear above the first column in the grid. Is it possible to have grouping not add another column to the left of my grid columns?
Pavlina
Telerik team
 answered on 24 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?