Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
1.2K+ views
hello

im new here in telerik and i will appreciate any kind of help..
here is my problem:
 from my Main.aspx   i open a RadWindow which contain a listbox.. from that listbox i want to get as return value the selected  value of that webcontrol and put it in my Main.aspx txtbox..

can someone please post the code for my problem?

thanks in advance.
regards webster.
surya
Top achievements
Rank 1
 answered on 19 Jan 2016
3 answers
842 views

Hello,

What I want to achieve is very simple. I have a standard grid that may be grouped by one of the columns. This is achieved using standard RadGrid functionality.

When the user clicks on the chevron of a group I want to toggle the group (expand or collapse it).There seem to be several threads on this type of thing. However, having looked at some of them what is not  clear to me is what is the correct approach.

Some of the questions that arise are

  • Do I have to implement a solution client side?  (I would prefer a server side solution.)
  • Do I need to implement something in page Page_PreRender(). 
  • Does the grid need to be rebound at any point? If so, where?

If somebody could point me to a simple example of this I would be very thankful. Ideally, the solution would be server side. By the way, I presume that I need to do the following (see below). However, I am not sure "what goes here", if anything?

Thanks in advance,

John.

protected void GridItemCommand(object source, GridCommandEventArgs e)
{
      if (e.CommandName.Equals("ExpandCollapse"))
      {
          // what goes here ???
      }
 }
 

 

 

 

 

John
Top achievements
Rank 1
 answered on 19 Jan 2016
1 answer
142 views
Hello, 

I need to create a few gauges with a different look.

I want to reload different CSS files where I will be able to override inner properties of gauge object,
like scales/point size/point color and t.d.


Does anyone know if there is a way to obtain what I desire?

Thanks
Tanya

Danail Vasilev
Telerik team
 answered on 19 Jan 2016
3 answers
261 views

I've a simple page where I've some tabs in radtabstrip. I want to display this web page in a web browser control in a win form application. If I re size the windows form application then the last tab displays in second line. Please note that the scroll bar also displays. Please see the screenshot1.

Here is the code I used in the aspx page.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RadTab.aspx.cs" Inherits="PlayGround_WebApplication.RadTab" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html>
 
<head id="Head1" runat="server">
    <title></title>
    <style type="text/css">
         
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        <telerik:RadTabStrip ScrollButtonsPosition="Left" runat="server" ID="radTabStrip" PerTabScrolling="true" ScrollChildren="true"
            SelectedIndex="0" Width="100%" Style="padding-top: 2px;">
            <Tabs>
                <telerik:RadTab runat="server" Text="Customer Details" Value="0" />
                <telerik:RadTab runat="server" Text="Practice Info" Value="1" />
                <telerik:RadTab runat="server" Text="Customer & Case Alerts" Value="6" />
                <telerik:RadTab runat="server" Text="Calls & Notes" Value="2" />
                <telerik:RadTab runat="server" Text="Cases" Value="3" />
                <telerik:RadTab runat="server" Text="Accounting" Value="4" />
                <telerik:RadTab runat="server" Text="Sales" Value="5" />
                <telerik:RadTab runat="server" Text="Attachments" Value="7" />
                <telerik:RadTab runat="server" Text="Education Courses" Value="8" />
            </Tabs>
        </telerik:RadTabStrip>
    </div>
    </form>
</body>
</html>

Please note that this problem is not occurring in my internet explorer browser. I've tested with IE9 & IE11. 
I am using telerik version 2015.3.1111.40 . Previously I was using 2014.1.225.40 . The amazing fact is this problem doesn't occur on my previous version. This is occurring on the latest version.

Observation:

  • If I add more tabs so that the scroll bar is displayed from the beginning then after re sizing this issue doesn't occur. 
  • If I change the text of the last tab "Education Courses" to something smaller (say 3 letters) then the problem doesn't occur.

 

Please shed some light on this issue. Thanks

Ivan Danchev
Telerik team
 answered on 19 Jan 2016
1 answer
111 views

I have a hierarchical grid with EnableHierarchyExpandAll="true"

I would like to set the background color of the ExpandColumn header. I would prefer to do this with a CSS class rather than a CSS selector.

I have the following CSS defined: 

.gridHeader
{
background-color:#E1EDF7 !important;
}

in my grid ItemCreated server-side event, I have the following code:

 Select Case e.Item.ItemType
                        Case GridItemType.Header
                            Dim headerRow As GridHeaderItem = CType(e.Item, GridHeaderItem)
                            headerRow("ExpandColumn").CssClass = "gridHeader"
End Select

This doesn't seem to work. Any ideas? 

 

 

 

Konstantin Dikov
Telerik team
 answered on 19 Jan 2016
1 answer
288 views

 

Hi everyone,

I have a radgrid where every column begins with a date (first row is a date).

Is there a way to set a date formatting for a Row within a RadGrid?

Thank you

Viktor Tachev
Telerik team
 answered on 19 Jan 2016
4 answers
170 views

Hi,

I am using version 2015.1.401.40 of the ASP.NET for AJAX controls.

I have an ascx control that contains the RadUpload control along with a RadProgressArea and a RadProgressManager.

I have it in an aspx file that uses the RadAjaxManager and the aspx control also contains many other ascx controls.

Many of the ascx controls are being updated by the RadAjaxManager...

PROBLEM:

When I do anything on the aspx form that does an ajax postback, the OnClientProgressStarted event is being fired on the RadProgressManager.

As an example, I have an ajaxed ascx control that contains a telerik radgrid and when I put a row into edit mode on that grid, the OnClientProgressStarted event is fired on the RadProgressManager.  I know that, because I call a javascript function from it and have put a debugger statement in it...

This causes totally undesirable behavior.  I only want that event to fire when I'm using the upload control...

Q. Can you tell me if there is anything I can do to try to correct this behavior and NOT have OnClientProgressStarted fired on every ajax postback on the page?

Thanks,

Brent

Brent Hetland
Top achievements
Rank 1
 answered on 19 Jan 2016
1 answer
60 views

 Hi I'm having a problem since I upgraded to version 2015.3.1111.40. It seems that some external javascript tags are being moved from their position about half way up the head to the end of the head after the stylesheets are rendered. Unfortunately this is breaking javascript in the head that is trying to reference the scripts before they are defined.

Please see the pseudo code below:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1"><title>

==========SCRIPT TAGS RENDERED HERE WITH VERSION 2015.2.729.40===============
<script type="text/javascript" src="client.ashx"></script>
<script type="text/javascript" src="/JS/CustomEvent.js"></script>
<script src="/JS/GlobalEvents.js" type="text/javascript"></script>
=============================================================================

<script type="text/javascript">
//JAVASCRIPT STUFF
</script>

<link href="/WebResource.axd?d=GeaE1XAZCbM2xElfdpakRWK9V6QS7AU3nicMeAJ5diojozmIVm1_p383miQXR21SID15m4fD4kpKk2qGqs7PBSKutB6vkDGmWUpRyxfTq3r3IS9j5B90EIspv7UqcD_itjnaxcLSVzL7F9U0bbAKJQ2&amp;t=635827770660000000" type="text/css" rel="stylesheet" class="Telerik_stylesheet" />
<!-- MORE TELERIK WebResource.axd -->

============SCRIPT TAGS NOW RENDERED HERE WITH VERSION 2015.3.1111.40=========
<script type="text/javascript" src="client.ashx"></script>
<script type="text/javascript" src="/JS/CustomEvent.js"></script>
<script src="/JS/GlobalEvents.js" type="text/javascript"></script>
==============================================================================

</head>

This is the rendered version of the page, the source has a code block and a script block in the head which may have some bearing?

Hope somebody can help as this is a large project and we can't make it live until we fix things.

 Kind regards

 Alan


Marin Bratanov
Telerik team
 answered on 19 Jan 2016
1 answer
109 views
I want to open a Tooltip with TooltipManager when the user clicks over a READ-ONLY RadRating. Is there a way to achieve this? It works with OnMouseOver, but i'm unable to assign the Click event :-(
Marin Bratanov
Telerik team
 answered on 19 Jan 2016
7 answers
268 views
How set DataNavigateUrlField target?
I load telerik:RadMenu from SqlDataSource and want to bind target field....
Helen
Telerik team
 answered on 19 Jan 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?