Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
61 views
Hi,

I have a grid with a checkbox column I am able to select multiple rows then click an itemcommand button that will run code for each selected row. The code below works great and I can process each selected row. The problem is that there is no visual indicator that the process is running and the users end up clicking the button two or three times. I am attempting to add the grid into the ajax manager (see below) when I do that, I do get the loading panel. The problem is that grdAvailableItems.SelectedItems is empty there are no selected items.
Any Ideas?  

Thanks,
Tom Usselman
protected void GrdAvailableItems_ItemCommand(object sender, GridCommandEventArgs e)
       {
           if (e.CommandName == "AddToQuote")
           {
               try
               {
                   bool renumber = false;
                   hdnAddAdditionalItems.Value = "Yes";
                   foreach (GridDataItem item in grdAvailableItems.SelectedItems)
                   {
                       int multiplier = Convert.ToInt16(item["multiplier"].Text);
                       Single curprice = Convert.ToSingle(item["curprice"].Text);

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"
DefaultLoadingPanelID="RadAjaxLoadingPanel1">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="grdAvailableItems">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="grdQuoteItems" />
<telerik:AjaxUpdatedControl ControlID="grdAvailableItems"
LoadingPanelID="RadAjaxLoadingPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
Maria Ilieva
Telerik team
 answered on 03 Dec 2012
1 answer
170 views
HI,

I have a sharepoint 2010 web part.
I am calling RAD prompt from code behind on a button click as follows :

 

 

 

 

RadWindowManager1.RadPrompt("Press Ok to submit for approval", "promptCallBackFn", 330, 160, null, "Note to PM on what was changed", "");


and the function definition is  as follows:

 

 

 

 

function promptCallBackFn(arg) {
      if (arg) //the user clicked OK
      {
          __doPostBack("<%=hdnbtnGetComment.UniqueID %>", arg);
      }
  }

THe RAdprompt screen is opening correctly but The OK, Cance button is not working. It will not close the prompt on clicking either ok or Cancel. Internet version is IE8

Marin Bratanov
Telerik team
 answered on 03 Dec 2012
3 answers
103 views
Hi guys, I have telerik RadControls for asp.net ajax Q1 2012, I'm implementing RadRotator as the main access menu of my application, for now everything is working fine, but there is something I can't achieve for now, in order to get a better "look and feel" to the rotator I want to implement the effect shown on your carousel sample:
http://demos.telerik.com/aspnet-ajax/rotator/examples/carouselmode/defaultcs.aspx
In wich the bike that is on front looks bigger than the rest of bikes and while rotating the items in the front gets bigger than the rest.

Hope you can help me.

Best regards.
Cristian
 
Slav
Telerik team
 answered on 03 Dec 2012
1 answer
275 views
I have followed the directions of every thread I have found on these boards and am still having this issue. I have added the reference, shut down Visual Studio, restarted and the same thing. I had no problems yesterday doing a tutorial project but am having the issue today.

EDIT

I deleted the AJAX controls and re-installed fresh and it is now working
Eyup
Telerik team
 answered on 03 Dec 2012
1 answer
61 views
When I publish my application to iis 7 I get the following error:

https://www.dropbox.com/s/lml9wko67aa7mu5/11-28-2012%201-47-46%20PM.png

None of the telerik controls con the page work.

Has anyone run into something like this?

Thanks,

Jorge
Maria Ilieva
Telerik team
 answered on 03 Dec 2012
1 answer
81 views
Hi,
I am using the RadGrid from "RadControls for ASP.NET AJAX Q3 2012" in sharepoint 2010 visual webpart.
I am trying to insert/update items in grid.
I used the below code:

<MasterTableView DataKeyNames="Title" AutoGenerateColumns="false" CommandItemDisplay="TopAndBottom" 
  
CommandItemSettings-AddNewRecordText="Add New Item" >
  <Columns>
                     <telerik:GridTemplateColumn DataField="Title" HeaderText="Product Number" 
  
UniqueName="ProductNumber"  Visible="true">
                            <InsertItemTemplate>
<telerik:RadTextBox ID="RadtxtPrdNumber" runat="server" Text='<%# Bind("Title") %>' >
                                </telerik:RadTextBox>
                            </InsertItemTemplate>
                            <EditItemTemplate>
<telerik:RadTextBox ID="RadtxtPrdNumber" runat="server" Text='<%# Eval("Title") %>' >
                                </telerik:RadTextBox>
                            </EditItemTemplate>
                        </telerik:GridTemplateColumn>
  
                    <telerik:GridTemplateColumn DataField="Description" HeaderText="Description" 
  
UniqueName="Description"Visible="true">
                            <InsertItemTemplate>
<telerik:RadTextBox ID="RadtxtDescription" runat="server" Text='<%# Bind("Description") %>' >
                                </telerik:RadTextBox>
                            </InsertItemTemplate>
                            <EditItemTemplate>
<telerik:RadTextBox ID="RadtxtDescription" runat="server" Text='<%# Eval("Description") %>' >
                                </telerik:RadTextBox>
                            </EditItemTemplate>
                        </telerik:GridTemplateColumn>
  
 </Columns>
    </MasterTableView>

When I click on "Add New Item", the Product number and the description textbox are shown vertically. How to show the textbox's in horizontal way as available in the grid.
Thanks
Shinu
Top achievements
Rank 2
 answered on 03 Dec 2012
2 answers
325 views
Hi All,
i have a requirement that i need to bind the multicolumn radcombobox to Json using javascript/jquery (ASP.NET/AJAX) . Please help.
Seetha
Top achievements
Rank 1
 answered on 03 Dec 2012
1 answer
109 views
In this example,it shows  the value of the DateField to the ClientDataKeyNames array of the MasterTableView or a detail GridTableView,
L:ikewise ,how to send image column
function RowSelected(sender, args) { var label = document.getElementById("<%= Label1.ClientID %>"); label.innerHTML = "<b>CustomerID: </b>" + args.getDataKeyValue("CustomerID") + "<br />" + "<b>CompanyName: </b>" + args.getDataKeyValue("CompanyName"); }
Maria Ilieva
Telerik team
 answered on 03 Dec 2012
2 answers
296 views
<telerik:RadToolBar ID="RadToolBar1" runat="server" Skin="Office2010Blue" OnButtonClick="RadToolBar1_ButtonClick" EnableRoundedCorners="true" EnableShadows="true" Width="100%">
            <ExpandAnimation Type="OutQuart" Duration="300"></ExpandAnimation>
            <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>
            <Items>
                <telerik:RadToolBarButton>
                    <ItemTemplate>
                        <div style="margin: 0 5px 0 15px;width:620px;">
                            <asp:Label ID="lblCategory" runat="server" Text="CategotyText"></asp:Label> </div>
                    </ItemTemplate>
                </telerik:RadToolBarButton>
                <telerik:RadToolBarDropDown Text="Sort">
                    <Buttons>
                        <telerik:RadToolBarButton Text="New Arrivals">
                        </telerik:RadToolBarButton>
                        <telerik:RadToolBarButton Text="Unordered">
                        </telerik:RadToolBarButton>
                    </Buttons>
                </telerik:RadToolBarDropDown>
            </Items>
        </telerik:RadToolBar>


Private Sub Page_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
      Dim Item As RadToolBarItem = RadToolBar1.Items(0)
      Dim lbl As TextBox = TryCast(Item.FindControl("lblCategory"), TextBox)
      lbl.Text = "Found"
End Sub

What am I doing wrong?
Leon
Top achievements
Rank 1
 answered on 03 Dec 2012
1 answer
46 views
Hi,

I would like to know whether Telrick Dotnet Developer Tools consist of Dash Board in package?
If supports Dash Board can you please give me the cost and complete details about the same....

Thanks,
A Vimal Kumar
Slav
Telerik team
 answered on 03 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?