Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
136 views

The autocomplete box is rendered in a div element, other controls just in a span. ​If I ​assign a label to a Telerik control, the control is placed right of the label, but the auto complete box is placed underneath (as it's a div, not just a span).

 

Can I somehow change that behavior?

Nessi
Top achievements
Rank 1
 answered on 31 Aug 2015
7 answers
1.5K+ views
On my radgrid, I have EditFormSettings EditFormType set to WebUserControl.  Inside that WebuserControl, I have a submit button and a delete button.  And I know that you can close these by setting the CommandName to Update or Cancel.  However, this is not working when I have the another control nested inside that control. 

Can I close these windows explicitly either through js or the codebehind?  I'm not sure but I think my problem is that I have a control nested inside another control. Both have the commandnames set to Update and Cancel.  There must be some conflict?

Thanks in advance.

Vince
Abitar
Top achievements
Rank 1
 answered on 31 Aug 2015
2 answers
204 views

In the ListBox ItemTemplate Demo, a numeric textbox is included to allow users to enter order Quantity. No problem creating a similar item template. No problem passing item.Value to SqlParameter and inserting to database. But I cannot figure out how to grab a value from a textbox and pass that as another parameter.

Code below passed an empty string or NULL to @Quantity: 

 

 foreach (RadListBoxItem item in collection)
                {
                    cmd4.Parameters.Clear();
                    cmd4.Parameters.AddWithValue("@Product_ID", item.Value);
                    cmd4.Parameters.AddWithValue("@Quantity", Convert.ToInt32(item.FindControl("RadNumericTextBox1.Text") as TextBox));
                    cmd4.ExecuteNonQuery();
                }​

A few articles I found suggest textbox values are lost during postback? Anyone else run into this problem? Advice appreciated.

 

                              

Aneliya Petkova
Telerik team
 answered on 31 Aug 2015
5 answers
1.3K+ views
1. How do I set RadDatePicker to ReadOnly mode so that it prints better (Enabled = False prints light).
2. How do I hide the calendar icon in ReadOnly mode?    RadComboBox has .ShowToggleImage = False but not RadDatePicker.
Eyup
Telerik team
 answered on 31 Aug 2015
3 answers
445 views

Hi guys, 

      could someone possibly explain me what is the most correct way how to use radeditor in MVC project?

 

Thanks you !

Ianko
Telerik team
 answered on 31 Aug 2015
6 answers
122 views
not sure why I am getting below issue.
Unknown server tag 'telerik:GanttResourceColumn'.
Bozhidar
Telerik team
 answered on 31 Aug 2015
3 answers
191 views
Hi, I have a problem with radconfirm dialog. I open the dialog from C# code by:

ScriptManager.RegisterStartupScript(Page, Page.GetType(), "confirmQuantity", "confirmQuantityCorrection();", true);

My function is very simple in javascript:

function confirmQuantityCorrection(){
  var oConfirm = radconfirm('Are you sure', confirmCallBackQuantity, 280, 150, null, 'Confirm');
 
  return false;
}


It works fine, but I noticed that I have no focus in confirmation dialog so it is not possible to use only keyboard for confirmation. Focus remains in the main window. I find this post , but it doesn't work and I cannot get the focus.

It looks other people has the similar problem with window opening, but the solution doesn't work for dialog.
Do you have similar problems? Did you find any solution for it?

Thanks a lot,
Petr

Eyup
Telerik team
 answered on 31 Aug 2015
9 answers
387 views

Hi, I have upgraded from Q3 promothues to Q1 2008 Ajax
same code, but doesn't work anymore
here is the aspx

<telerik:RadGrid ID="AListingsGrid" runat="server"   
          AllowMultiRowSelection="True" AllowPaging="True" AllowSorting="True"   
          AutoGenerateColumns="False" GridLines="None" Height="515px" PageSize="300"   
          Skin="Vista">  
<MasterTableView> 
<RowIndicatorColumn Visible="False">  
<HeaderStyle Width="20px"></HeaderStyle> 
</RowIndicatorColumn> 
 
<ExpandCollapseColumn Visible="False" Resizable="False">  
<HeaderStyle Width="20px"></HeaderStyle> 
</ExpandCollapseColumn> 
 
    <Columns> 
        <telerik:GridBoundColumn DataField="Href_No" HeaderText="Ref"   
            UniqueName="column">  
        </telerik:GridBoundColumn> 
    </Columns> 
 
<EditFormSettings> 
<PopUpSettings ScrollBars="None"></PopUpSettings> 
</EditFormSettings> 
</MasterTableView> 
          <ClientSettings> 
              <Selecting AllowRowSelect="True" /> 
              <Scrolling AllowScroll="True" UseStaticHeaders="True" /> 
          </ClientSettings> 
      </telerik:RadGrid> 
<telerik:RadAjaxLoadingPanel ID="PnlLoading" Runat="server"   
        height="75px" width="75px">  
        <img alt="Loading..."   
            src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.loading.gif") %>'   
            style="border:0px;" /> 
      </telerik:RadAjaxLoadingPanel> 
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
    <AjaxSettings> 
     <telerik:AjaxSetting AjaxControlID = "AListingsGrid">  
      <UpdatedControls> 
       <telerik:AjaxUpdatedControl ControlID ="AListingsGrid" LoadingPanelID="PnlLoading" /> 
      </UpdatedControls> 
     </telerik:AjaxSetting>       
     <telerik:AjaxSetting AjaxControlID = "btnFilter">  
      <UpdatedControls> 
       <telerik:AjaxUpdatedControl ControlID ="AListingsGrid" LoadingPanelID="PnlLoading" /> 
      </UpdatedControls> 
     </telerik:AjaxSetting>       
    </AjaxSettings> 
    </telerik:RadAjaxManager> 


after some data pouplated, and select some rows and call

Debug.Print(AListingsGrid.SelectedItems.Count)
the AListingsGrid.SelectedItems.Count is always 0

what's wrong?

Minh
Top achievements
Rank 1
 answered on 31 Aug 2015
2 answers
287 views

I assume if I need to get the lat/lon from a given address I need to use another service for this right? I need to place a marker with the given address. I was just checking here anyways.

 Thanks,

Warren

 

Ianko
Telerik team
 answered on 31 Aug 2015
2 answers
163 views

Hello,

1. I create an appointment with recurrence : 3 occurrences A,B,C.
2. I update only one occurrence : B.
3. I delete B.

But deleting B doesn't work... indeed, no event is firing... (none from OnOccurrenceDelete​/OnAppointmentDelete/Delete method from provider)
More, if i try to edit this occurrence B, i can choose series/occurrence illogically (and nothing happen if i choose edting series...) 

If I update series from A or B to reset exception, the original B takes place, but my "orphan" occurrence B always exists and i still can not delete it.
The own way for user to delete orphan B is to add a reccurence to B then deleting the series...

Is it something i didn't understand ? ​How to force the removal of B please ?

luc bonenfant
Top achievements
Rank 1
 answered on 29 Aug 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?