Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
80 views
I'm currently experiencing the following issue in my development environment that can also be reproduced on one of the demo pages.

Steps to reproduce:


  1. Go to:  http://demos.telerik.com/aspnet-ajax/window/examples/windowmanager/defaultcs.aspx
  2. Click on the Maximize button of the window that doesn't have the focus (the bottom most window)
  3. Click on the Maximized Window.

Observation:

The bottom most window is maximized; however, the top most window appears on top of the maximized window.  When I click on the maximized window, the minimized window still appears.

Expected result:

The z-index of the bottom most window (the one that was maximized) should be greater than the top most window and it's opacity should be 1.0.  When the maximized window obtains the focus, the minimized window should no longer be visible.

Version:

2009.2.701.35

Is this a bug?  Is there a work-around or solution?


Georgi Tunev
Telerik team
 answered on 11 Dec 2009
1 answer
127 views
Hi All,

In my application i am using RadComboBox where on load of the page i am unable to get what ever the empty message i had given in the design this is what i had used.


<telerik:RadComboBox ID="cmbPlatformName" runat="server" AutoPostBack="True" 
                          onselectedindexchanged="cmbPlatformName_SelectedIndexChanged" 
                          Height="200px" Width="200px"
DropDownWidth="298px" EmptyMessage="Select Platform" HighlightTemplatedItems="true"
EnableLoadOnDemand="true" onitemsrequested="cmbPlatformName_ItemsRequested">
</telerik:RadComboBox>

Thanks in Advance.
Simon
Telerik team
 answered on 11 Dec 2009
4 answers
334 views
hi all,
I'm using Asp.net Ajax Radgrid for my application but i have one problem that how to generate combobox column dynamically in radgrid.
Can anyone suggest me how to add combobox column in radgrid dynamically so that i can populate combobox at itemcreated or itemdatabound event of radgrid.


Thanks in advance!!!
Kris
Top achievements
Rank 1
 answered on 11 Dec 2009
1 answer
151 views
This error appeared in my global exception logging and I was wondering if there was any insight into it

 
User-agent: IE8.0  
Location: Telerik.Web.UI.WebResourceError  
Description: System.NullReferenceException: Object reference not set to an instance of an object.      
at Telerik.Web.UI.CombinedScriptWriter.GetContentType(List`1 scriptEntries)      
at Telerik.Web.UI.CombinedScriptWriter.WriteCombinedScriptFile()    
at Telerik.Web.UI.WebResource.ProcessRequest(HttpContext context)      
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()      
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) Stack trace:     
at Telerik.Web.UI.CombinedScriptWriter.GetContentType(List`1 scriptEntries)      
at Telerik.Web.UI.CombinedScriptWriter.WriteCombinedScriptFile()      
at Telerik.Web.UI.WebResource.ProcessRequest(HttpContext context)      
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()      
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 

T. Tsonev
Telerik team
 answered on 11 Dec 2009
1 answer
176 views
Hi,

We're using RadEditorMoss Version 5.6.0.0. When we add 2 or more telerik editor web parts to a page the linkmanager and imagemanager stops working with a javascript error according to the image attached.

Any ideas why?

Regards
Magnus
Stanimir
Telerik team
 answered on 11 Dec 2009
1 answer
135 views
Hi,

I use ASP.NET AJAX RadTreeView control (2009 Q3). I populate root nodes manually but for subnodes I use WCF service (to load them on demand). The problem is that the web service/method parameteres "p_Node", "p_Context" ARE ALWAYS null when method is invoked:

  [ServiceContract(Namespace = "")]
  [AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Allowed)]
  public class TreeViewService
  {
    [OperationContract()]
    public RadTreeNodeData[] LoadChildData(RadTreeNodeData p_Node, IDictionary<string, object> p_Context)
    {
         string currentVal = p_Node.Value;  // error - null on every call
         .....
         return listOfNodes.ToArray();
    }


The service.model in web.config is defined as:

<system.ServiceModel>
   
    <!-- bindings -->
    <bindings>
      <webHttpBinding>
        <binding name="webBinding">
          <security mode="None" />
        </binding>
      </webHttpBinding>
    </bindings>
    
    
    <!-- behaviors -->
    <behaviors>
      <endpointBehaviors>
        <behavior name="ajaxBehavior">
          <enableWebScript />
        </behavior>
      </endpointBehaviors>
      <serviceBehaviors>
        <behavior name="defaultBehavior">
          <serviceDebug includeExceptionDetailInFaults="true" />
          <serviceMetadata httpGetEnabled="true" />
        </behavior>
      </serviceBehaviors>
    </behaviors>

    <!-- ASP.NET compatibility mode -->
    <serviceHostingEnvironment aspNetCompatibilityEnabled="true" />
    
    <services>
      <!-- TreeViewService.svc -->
      <service name="TreeViewService" behaviorConfiguration="defaultBehavior">
        <host>
          <baseAddresses>
            <add baseAddress="TreeViewService.svc"/>
          </baseAddresses>
        </host>
        <endpoint address=""
                  behaviorConfiguration="ajaxBehavior"
                  binding="webHttpBinding"
                  contract="TreeViewService" />
      </service>
    </services>
    
</system.ServiceModel>


The .aspx page contains the following definition:

<telerik:RadTreeView ID="radTreeView" runat="server" OnClientNodeClicked="OnNodeClicked"
      DataFieldID="Code" EnableViewState="False" DataFieldParentID="ParentCode">
      <webservicesettings path="TreeViewService.svc" method="LoadChildData" />
      <databindings>
        <telerik:RadTreeNodeBinding Depth="0" ExpandMode="WebService" ValueField="Code" />
        </databindings>
    </telerik:RadTreeView>


What is wrong?? Thank you for help.

Regards,
Damjan
Vesko
Top achievements
Rank 2
 answered on 11 Dec 2009
8 answers
474 views
I'm not sure what I did, but originally this was working and I didn't update any controls.

I have a RadComboBox and then a button right beside it. For whatever reason now it's displaying below the combo box when I want it to show right beside it. Looking at the generated html it's putting a display:block around the input control (internally I'm guessing)

<div id="ctl00_ctl00_ContentPlaceHolder1_MainArea_ctl00_ctl00_ContentPlaceHolder1_MainArea_cmbTagsPanel" style="display: block;"> 
</div> 
<input id="ctl00_ctl00_ContentPlaceHolder1_MainArea_btnAddTag" class="button" type="button" onclick="javascript:__doPostBack('ctl00$ctl00$ContentPlaceHolder1$MainArea$btnAddTag','')" value="Add" name="ctl00$ctl00$ContentPlaceHolder1$MainArea$btnAddTag"/> 

Is there a property I can set in order to get this to display:inline? What would I need to do to overwrite this setting?

THanks

-Matt
Brian Northcutt
Top achievements
Rank 1
 answered on 11 Dec 2009
4 answers
113 views
i have a textbox and a button wrapped in an AjaxPanel. For the textbox, autopostback=true and i am handling the Textchanged event on the server. My problem is that when i start typing in the textbox and then click the button to submit the form, it performs the callback for the textchanged event but the click event for the button is not fired. So the user ends up having to click the button twice to submit the form (if there are going from typing the texbox to clicking the button). Is there a way around this problem? I realize this is probably a bigger problem than just with Telerik Ajax callbacks (like Microsoft and asp.net and postback and events, etc). Is there a workaround?
Tsvetoslav
Telerik team
 answered on 11 Dec 2009
6 answers
219 views
I've been having quite a time working around behavior that I just can't imagine is correct.  I have several modal dialog boxes implemented via the jQuery thickbox.  This plugin allows me to specify a div with style="display: none;" to be shown as a modal pop-up.  These divs have server controls in them as well as buttons with server routines behind them.  Unfortunately, while the button clicks will execute the server code, any entry the user puts into other server controls like textboxes is discarded.  On the button click events, the values for those textboxes are the original values with which they were instantiated.  However, if I remove the style="display: none;" from the div and go through the process, the controls' values are all readable.

The only way I can work around this is by putting a hidden field outside of the div and to use javascript to write all the control values to those hidden fields.  It ends up being a cluttered design that really shouldn't be necessary.  What is it about the radAJAX library that doesn't pay attention to server controls inside hidden divs?

Josh
Iana Tsolova
Telerik team
 answered on 11 Dec 2009
7 answers
299 views
I have a radgrid with a custom edit form. I have several controls in the edit form ie: Radeditor,Dropdownlist etc.... the problem I am having is with my dropdownlist I need to fill the list from sql based on the "dictationid" of the record being edited. I cant seem to get the value of the dictationid as a parameter for the Dropdownlist SQL Query. How do I get this value? BTW the dictationid is the Datakeyname for this radgrid.
Robert
Top achievements
Rank 1
 answered on 11 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?