Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
125 views
Hello to all expert in telerik controls

                        Once again i would like to ask help to you guys who knows very well in asp.net, ok.. here's my question coz its raises some error, i have two radcombobox namely the group and the other one is the member.. of course that is connected to the database,.when i tried to select group on the first attempt its shows the member on the second combobox, then second attempt i trying to select another group to be able to load again to the second combobox which is the member, but its raises some error..
this is the error.... Redirect URI cannot contain newline characters. i debug my services there is no error but it goes to that method below.. Pleaes help

and here's my codes for the second combobox, coz the error goes in this method,

 

protected void Responsible(string groupkey)

 

{

 

AppGlobalDeclarations gConn = new AppGlobalDeclarations();

 

RequestMaster05Users.

RequestMaster05UsersClient _MasterUsers = new IBOS.RequestMaster05Users.RequestMaster05UsersClient();

 

 

try

 

{

 

this.RDCboResponsible.DataSource =_MasterUsers.tblMaster05Users_ResponsibleList(groupkey,gConn.SQLConnection);

 

 

this.RDCboResponsible.DataTextField = "fcUserName";

 

 

this.RDCboResponsible.DataValueField = "fxKeyID";

 

 

this.RDCboResponsible.DataBind();

 

}

 

catch (Exception ex)

 

{

 

string msg = ex.Message; >>> Redirect URI cannot contain newline characters

 

Response.Redirect(

"../CustomErrorPage.aspx?ErrorMessage=" + msg);

 

}

}

sample code is highly appreciated
thanks

Jols
Top achievements
Rank 2
 asked on 29 Apr 2009
1 answer
49 views
I dont know why my grid view has all the tr rows floating to the left, while it's fine on IE. Tablelayout is fixed apparently. Is there something I am missing?
Dimo
Telerik team
 answered on 29 Apr 2009
2 answers
99 views
Hi,

I am using a radgrid with 3 levels, the second level has got two detail tables. Some of the detail tables contain only a single row.
I am allowing edit for all the detail tables with user controls. When the page is loaded I get ths message that 'A script on this page is causing Internet Explorere to run slowly. If it continues to run your computer may become unresponsive'

Has anyone else come across this kind of problem? I am not sure what is causing this problem.

Please help me if you got any idea.

regards,

Anu
Anu
Top achievements
Rank 1
 answered on 29 Apr 2009
3 answers
207 views
Hi
  This is sowjanya.
   I m working on radgrid.
   I need to get the radgrid columns hidden or shown when i check or uncheck the checkboxes outside of the grid.
  I used hidecolumn and show column javascript functions.but it didnt work.I took checkboxes for each column outside the grid.I am hiding the column by using index values
  can anyone pls help me

thanks & regards,
sowjanya.
Josh
Top achievements
Rank 1
 answered on 29 Apr 2009
7 answers
244 views

Hello, I have tried all day but have been unable to find out how to show/hide toolbars/buttons from Javascript.

I am controlling the editor from silverlight so I am assuming I need to use Javascript.

I would like the buttons shown in the RadEditor to depend on something the user enters.
I have edited a couple of ToolsFile.xml files to contain the buttons I require.
Calling either of the following 2 Javascript functions does nothing at all.

  <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

  <script language="javascript" type="text/javascript">

  function setShortTools()
    {
    var editor = $find("<%= RadProfileEditor.ClientID %>");
    editor.ToolsFile = "~/RadControls/Editor/MyToolsFileShort.Xml";
    }

  function setLongTools()
    {
    var editor = $find("<%= RadProfileEditor.ClientID %>");
    editor.ToolsFile = "~/RadControls/Editor/MyToolsFileLong.Xml";
    }
 
  </script>

  </telerik:RadCodeBlock>

Can anyone please tell me how to change RadEditor Buttons using Javascript (or any other method that works from Silverlight)
Many thanks in advance.
Pete

Tervel
Telerik team
 answered on 29 Apr 2009
1 answer
145 views
Hi,

I have radmenu and radwindow on the page.

The radwindow is showing a pdf file.

My child-menu appears on top of the window when hovering the parent (which is fine), but it falls behind the PDF content.

Is there anyway to make it on top of the PDF content?

I tried setting the z-index but it doesn't work.

Thanks,

Andreas
Paul
Telerik team
 answered on 29 Apr 2009
1 answer
104 views
I have a Grid combined with EF 3 Beta, my grid exists of 6 columns

3 text columns
1 checkbox
2 GridDropDownColumn

Both DropDowns have an own DataSourceID, when i put a row in edit mode i am not able to use the DropDowns.
If i click them nothing happens,  when i only use one dropdown it works great. Have tested both dropdowns and they work fine only not together.

Who can help, what am i doing wrong?

Regards,

Ronald
Shinu
Top achievements
Rank 2
 answered on 29 Apr 2009
1 answer
113 views
Hi, I have a orders  and orderdetails table.  I can use hierarchical representation of related data tables and that works fine.  But  how can i display one of the fields from orderdetails column in orders grid column.  for example, order id 1 has 3 order details.  so i want to display orderid, orderdetail1.orderdate, orderdetail2.orderdate, orderdetail3.date in a sigle grid without nesting.

please let me know.
thanks,
Shinu
Top achievements
Rank 2
 answered on 29 Apr 2009
6 answers
1.2K+ views

Hello,

I want to recieve the position of the cursor in the editor Text and store it in a field (the position is enough for me, there is no need to recover later the selection if there is one). Later if I have finshed with some actions I want to set the cursor back to the same position. I can not use the usual restorepoint handling of the editor because I change the content of the editor in some actions and this destroys the restorepoint in some cases.

thx for your help 

Tom (csd)

Jeff
Top achievements
Rank 1
 answered on 29 Apr 2009
0 answers
121 views
Here is my scenerio:

I have a RadGrid that is populated by data.
The first column of the radgrid has an imagebutton and that imagebutton will click off a contextmenu that will be filled depending on the DataItem in the row.

Currently, each row item is added in the ItemDataBound event ... e.Item.DataItem and that is set to an Order object.  That order object is passed into a Method that sorts out the items and builds a dictionary GetList(Order order).  That GetList is set to the RadContextMenu Datasource.  So for each row in the first column, that image button context menu might have different items.

My problem is this:  

I originally had the imagebutton and contextmenu in a user control.  It was showing the context menu fine, and the items were added correctly.  But I was getting an "undefined" javascript error.  Basically you had to click the image before the context menu would load...after that you would have "right-click access".  

Then I moved the context menu and image button back into the radgrid directly on the page.  Now the context menu doesn't work at all.

Am I missing something here?  Do I have use the ajaxmanager?  Will that even work in my scenerio with me having an image object in the first column of a radgrid?


**** Update
Found the answer.  It was an old RadGrid in the usercontrol from the designer file that was messing it up.  Took that out and made sure the sender event from the usercontrol was cast correctly.
Matt Sipes
Top achievements
Rank 1
 asked on 29 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?