Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
105 views
When using radeditor a 404 error is displayed in the popup for adding an image or creating a link.

The error only happens on the server and works fine on localhost.

Also, when the popup is displayed it appears behind the rad menu.
Rumen
Telerik team
 answered on 01 Aug 2012
1 answer
56 views
Hello everyone,
I have a problem with my Headercontextmenu, can somebody please help me?
This is my situation:
I have a hierarchical RadGrid with a detailtable. On my RadGrid I enabled a headercontextmenu with an additional control to add a new item in my RadGrid.
So I want a headercontextmenu on the detailtable; now when I click on my "add new record" - button in the headercontextmenu of the detailtable it adds a new item in my mastertable.
How can I check on which level the button was clicked?
Or can I add an additional headercontextmenu only for my detailtable?

Thanks in advance,
regards esmyy


Eyup
Telerik team
 answered on 01 Aug 2012
1 answer
76 views
I have set of controls inside of a list view in which I want to be disabled until a certain checkbox is checked.
My current code looks like this:
protected void chckRSMCA_CheckedChanged(object sender, EventArgs e)
{
            CheckBox checkboxRS = (CheckBox)sender;
            RadTextBox Id = (RadTextBox)rlvListView.FindControl("txtRSFarmIdMCA");
            RadTextBox Address = (RadTextBox)rlvListView.FindControl("txtRSSvrAddressMCA");
 
            if (checkboxRS.Checked)
            {
                Id.Enabled = true;
                Address.Enabled = true;
            }
            else
            {
                Id.Enabled = false;
                Address.Enabled = false;
            }
}

However, with this code I get null reference exception when it tries to set the Enabled setting.
Josh
Top achievements
Rank 1
 answered on 01 Aug 2012
1 answer
79 views
Hello,
i am install the Asp.net Ajax Q2 2012
when i start the demo and click on  grid its how me error related to sql server

Server Error in '/RadControls_AspNetAjax' Application.

The user instance login flag is not supported on this version of SQL Server. The connection will be closed.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Data.SqlClient.SqlException: The user instance login flag is not supported on this version of SQL Server. The connection will be closed.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.


and i have already install Sqlserver 2008,sql server 2008r2,and sqlserver 2012 
so why this error come in this demo 
thanks

Slav
Telerik team
 answered on 01 Aug 2012
2 answers
885 views
I have created a Rad Button on Page_Init Method for Contenet Palce Holder. I want call onClientClickEvent whenever i click on it.

For Example:

RadButton b = new RadButton();
b.ID = "btnAddNew";
b.Text = Resources.GetText("Add");
b.CommandName = "Add";
b.Skin = "Office2010Silver";              
b.AutoPostBack = false;
b.Icon.PrimaryIconCssClass = "actionBarAdd";
b.Attributes.Add("OnClientClicked", "UsersActionButtonClicked()");

Thanks,
Sandeep
Slav
Telerik team
 answered on 01 Aug 2012
1 answer
88 views
I'm trying to add a GridClientSelectColumn with checkboxes to the FileExplorer to make it easier to select (check) files to be processed.

For some reason, the row appears selected but the checkbox doesn't show.

I've inserted the code I have so far below.

Any ideas?

Ken

GridClientSelectColumn GridClientSelectColumn1 = new GridClientSelectColumn();
GridClientSelectColumn1.UniqueName = "Select";
GridClientSelectColumn1.ItemStyle.VerticalAlign = System.Web.UI.WebControls.VerticalAlign.Top;
GridClientSelectColumn1.ItemStyle.Width = System.Web.UI.WebControls.Unit.Pixel(35);
GridClientSelectColumn1.HeaderStyle.VerticalAlign = System.Web.UI.WebControls.VerticalAlign.Top;
GridClientSelectColumn1.HeaderStyle.Width = System.Web.UI.WebControls.Unit.Pixel(35);
GridClientSelectColumn1.HeaderText = "";
GridClientSelectColumn1.Visible = true;
RadFileExplorer1.Grid.Columns.AddAt(0,GridClientSelectColumn1);
Dobromir
Telerik team
 answered on 01 Aug 2012
2 answers
88 views
At the buttom of the editor are the mode buttons Design, HTML, Preview.  

Can you please advise how I would l change the button text for the Design button to Edit.
Rumen
Telerik team
 answered on 01 Aug 2012
1 answer
83 views

Hello,

in the Link Manager Dialog, for the fields with id="LinkURL" and id="LinkTargetCombo",
I would like to use respectively a RadTextBox and a RadComboBox (the aspect of the
corresponding components input and select is not that of the selected skin fot the RadEditor).
How can I modify the JavaScript code in LinkManager.ascx so that everything is working fine?
For the RadTextBox I've tried to change $get("LinkURL") with $get("LinkURL_text"), but when
I click on the RadTextBox its content disappears.
 
Thank you very much

AB

Rumen
Telerik team
 answered on 01 Aug 2012
2 answers
101 views
I am opening a RadWindow that starts a modal dialog I am using as a 4-step wizard.

The code on the page that launches the wizard does a set_status to successfully set the status to read "Step 1 of 4":

var oWnd = $find("<%=radNewProjectWizard.ClientID%>");
oWnd.show();
oWnd.set_title("New Project Wizard");
oWnd.MoveTo(482, 100);
oWnd.add_pageLoad(function () { oWnd.set_status("MyProject"); });
oWnd.add_close(NewProject_OnClientClose);


When the user clicks "next" I do a redirect to the next .aspx page in the series and want to update the status to "Step 2 of 4".

I am unable to refresh the status - it still says "Step 1 of 4".

The code I am using in step2.aspx is as follows:

<body onload="OnLoad()">
  
<...>
  
function OnLoad() {
            GetRadWindow().set_status("Step 2 of 4");
        }
  
function GetRadWindow() {
            var oWindow = null;
            if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog  
            else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; //IE (and Moz as well)  
            return oWindow;
        }

I would assume the GetRadWindow gets a reference to the parent page (the RadWindow) and I should be able to do a set_status to update the status bar, but this doesn't seem to be the case.
Dave
Top achievements
Rank 1
 answered on 01 Aug 2012
2 answers
58 views
I found this thread: http://www.telerik.com/community/forums/aspnet-ajax/tooltip/tool-tip-as-modal-popup.aspx

Which fixed my problems with my dropdownlists, but I'm also using a RadMonthYearPicker and despite adding

<style type="text/css">
 
.RadCalendarPopup
{
   z-index: 10000!important;
}
 
</style>

To the header of the aspx page I'm working on the popup on the picker still opens behind the modal window.

Is there a different css class I need to reference since it is a MonthYearPicker rather than a DatePicker?
Justyn Hunter
Top achievements
Rank 1
 answered on 01 Aug 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?