Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
94 views
I am following the example shown at this link but trying to utilize unobtrusive validation found in .Net 4.5.  No matter what I get the validator showing me that the values I have entered are improper.  The compare validator works great with the Currency and Numeric input controls so the issue seems to be specific to the DateInput control.  

I dug into the actual Microsoft WebUIValidation.js file to try and see what may the issue and it appears they use a couple regular expressions to try and determine whether the date part is the first digits or the last.  But for some reason it never matches either regex so the values come back as not valid.  The value it retrieves it appears is "2013-08-30-00-00-00"  if i edit that value while debugging to remove the trailing zero's then (which I assume are for time?) then the validator works properly.
Vasil
Telerik team
 answered on 08 Aug 2013
15 answers
325 views
So I have a timeline view with many appointments that span many time slots.  When the user right clicks on an appointment and selects an item on the context menu, I need a way to tell on the client what time slot the right click originated from as well as which appointment.  In case they select to split the appointment into two separate ones, I need to know where on the timeline they opened the menu from to know where to split it.

Obviously I could open a dialog to allow them to do this, but it should be a one step operation rather than have them specify the same information again in a different manner.

I didn't see anything obvious, but I thought it might be buried in there somewhere.
Boyan Dimitrov
Telerik team
 answered on 08 Aug 2013
3 answers
94 views
Hi,

None of the Telerik Window controls are displaying in the Mobile Chrome browser in iPad.
Only if I select "Request Desktop Site" that the controls are visible.

Any idea how to fix this?

Thanks
Piyush Agarwal
Marin Bratanov
Telerik team
 answered on 08 Aug 2013
4 answers
602 views
Greetings

This is a really easy one to answer.

I'm using the RadMenu with the metro skin. It's all looking great but I want to change the selected menu item's background color.

Currently the background changes to blue and the text to white when a menu item is clicked. I have tried to override this with:

.RadMenu_Metro .rmItem a::selection
{
    background-color: #239300 !important;
}

But no luck. It's a tricky one to catch using the web browser developer tools as it changes on the click event.

Thanks in advance,
Matt
Matt
Top achievements
Rank 1
 answered on 08 Aug 2013
8 answers
335 views
I am trying to display a RadWindow after an ajaxrequest using the ajaxmanagers responsescripts.  It works fine if the ajax request originated from an ajaxpanel, but if the request originates from the ajaxmanager (RadAjaxManager.ajaxRequest('parm')), the $find() function always returns null.

Here is the code behind response script.
RadAjaxManager.ResponseScripts.Add(setTimeout(function(){var _window = $find('" + RadWindow.ClientID + "'); _window.show();}, 250)); 

Am I missing something?
Matthew
Top achievements
Rank 1
 answered on 08 Aug 2013
1 answer
192 views
Hi, 
i am using  rad captcha tool. i have set ajax to the controls. when i click the 'Generate New Image' the captcha image gone, and i can only view the text box. when i remove the ajax i works perfect . please suggest me some solution for this problem to work with ajax.





Thanks
Princy
Top achievements
Rank 2
 answered on 08 Aug 2013
9 answers
705 views
Hi.  I'm experiencing an issue with the expand/collapse functionality of the radgrid.  I have a master table and two detail tables.  The desired functionality is for a user to be able to drill down to the 2nd detail table via the master table and first detail table.  I'm also hiding the expand/collapse icon in the first details table on rows where there would not be any data returned in the second details table, as it's pointless to have a user expand a row if there's not going to be any data. 

All of the databinding is done in the code-behind.  I'm using the needdatasource for the master table and the detailtablebind for the details tables.

Expanding rows in the master table works as expected; however, if I click on the expand/collapse icon in the first details table (to drill down to the second details table), then the row in the master table collapses.  I also have a pagerstyle added to the details table, and if I click on it to change the page number or size then the row in the master table collapses.  Thus my dilema is that anything I try to do in the first details table causes the row in the master table to collapse.

I am using the HideExpandColumnRecursive method, which is called in RadGrid PreRender, to hide the expand/collapse icon if a value for one of the columns in the first detail table is equal to 0 (i.e., there would be no data to display in the second detail table).

I've stepped through the code, and if I expand a row in the master table then I do go through the RadGrid ItemCommand; however, I never hit that sub routine if I try to expand a row in the first details table.

The demo shown at the link below is what I'm trying to accomplish, except I don't want all the rows expanded by default; I want them all initially collapsed and the user chooses which ones to expand.

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/detailtabledatabind/defaultvb.aspx?#qsf-demo-source

Could someone provide some insight as to what I'm missing/not understanding?  :)

Thanks!
Amy
Top achievements
Rank 1
 answered on 08 Aug 2013
1 answer
173 views
Hello,

I'm using Telerik.Web.UI.dll of version 2010.3.1317.35.

When i try to use the OnClientBlur events the function is firing twice when i use alert message in the javascript function .

Select an item from the the RadComboBox then click on Tab or click on the form this time it is calling the method and showing the alert message , Again click on the form once then also it is calling the method and showing the alert message.

My observation is when we click OK button of alert message first time, the RadComboBox is regaining the focus, so that it is again firing the OnClientBlur event when we click on the form second time.

It is happening only in IE browser rest all it is working fine.

please find the below code snippet.
  <script type="text/javascript">
        function CallAlert(rad) {
            alert("Welcome RadComboBox Sample");
        }
    </script>
 
<telerik:RadComboBox ID="RadComboBox1" runat="server" OnClientBlur="CallAlert" >
    <Items>
     <telerik:RadComboBoxItem Text="--Select--" Value="0"/>
     <telerik:RadComboBoxItem Text="One" Value="1"/>
     <telerik:RadComboBoxItem Text="Two" Value="2"/>
     <telerik:RadComboBoxItem Text="Three" Value="3"/>
     <telerik:RadComboBoxItem Text="Four" Value="4"/>
    </Items>
</telerik:RadComboBox>



Thanks
Kesava.  
Kate
Telerik team
 answered on 08 Aug 2013
3 answers
105 views
Hi, We currently use export to excel on data that is displayed on a grid..when any updates are made to database during the time when user is analyzing grid data, when he clicks export, the 'need data source' event fires again and the new updates are exported as well...this results in the exported data being different from the user analyzed data, that he saw on the grid....please let us know how to solve this, since it is very critical for obvious data compliance reasons...any help or pointers would be highly appreciated.

Thanks in advance.
Daniel
Telerik team
 answered on 08 Aug 2013
1 answer
131 views
I'm using GridButtonColumn with CommandName="Delete" CommandArgument="Delete".  The RadGrid1_BatchEditCommand method is not being called when the button is clicked. Update and Insert are working.  What is the problem?????
adam
Top achievements
Rank 1
 answered on 08 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?