Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
120 views
I am trying to dynamically create a Notification in code behind, however when I call the Show() method, it gives me an Object is not set to the instance of an object error.

I am assuming that is because this control must be added to the page's controls?

Is that the case?

I have a large project with many pages and controls and don't want to have to add the markup on every since page of my project.
Marin Bratanov
Telerik team
 answered on 27 Jul 2011
2 answers
489 views
Hi,

  I want to populate my radgrid with the data using GridBoundColumn and dropdown controls.

I am able to place the GridBoundColumn like

<Columns>
      <telerik:GridBoundColumn ReadOnly="true" SortExpression="Name" HeaderText="Employee Name"
      DataField="EmployeeName" ItemStyle-Width="150px"><ItemStyle Width="150px"></ItemStyle>
      </telerik:GridBoundColumn>
</Column

I want to add a dropdown box next to the above field to populate data. How can I do this?

Regards,
Aradhya
abinav
Top achievements
Rank 1
 answered on 27 Jul 2011
1 answer
80 views
HI,
  
<telerik:GridHyperLinkColumn HeaderStyle-Width="160px" DataTextFormatString="'{0}'"
                                        ItemStyle-HorizontalAlign="Center" DataNavigateUrlFields="ItemCode" UniqueName="ItemCode"
                                        DataNavigateUrlFormatString="javascript:OpenItemCode('{0}');" HeaderText="Item Code"
                                        DataTextField="ItemCode" />


This is a column in my directly bound grid.

This form has been opened from menu

Now i want to open another form from the menu using the above hyperlink

the following is the script for the code mentioned above

  function OpenItemCode(index)
 {
                var cmbcolItemNo = index;
  if (cmbcolItemNo != "")
 {
                    GetRadWindow().BrowserWindow.OpenWindow('Warehousing/frmItemMaster.aspx?ItemCode=' + cmbcolItemNo, "ItemMaster", "Images/square.png");
                }
 }

this code works perfectly in IE but does not work in Chrome
 Please give me some suggestion to solve this problem
Marin Bratanov
Telerik team
 answered on 27 Jul 2011
3 answers
149 views
Hi

I am trying to implement some validation on new folder name so that when a user changes a folder name to another name, he/she does not enter an invalid char in the new name.

When doing so, I tried to rename a folder from (name) to (name/), i.e I inserted a forward slash at the end of the folder name.

When presseing enter, the application timed out and my (RadFileExplorer1_ItemCommand) event never got triggered.

I also found another issue:

If I put the slash in the middle of the new folder name (i.e. na/me), in the RadFileExplorerEventArgs, and newpath parameter will be wrong!

I suggest that there should be internal validation on invalid characters both in file and folder names. Also, the newpath parameter should contain the new name of the folder rather than the whole path, so that if the developer did his/her own validation he can easily find the new name. This is particularly useful if the user entered a slash in the new folder name then If I parsed the full name I still get errors.

I hope my points are clear

Regards

Dobromir
Telerik team
 answered on 27 Jul 2011
1 answer
118 views
I have a menu on a master page that opens a radwindow (window1)  this window contains a radgrid.  In the radgrid I have some code that opens a second window (window2) to allow editing of the grid contents.  This works ok, but Im having a problem referencing window2 if my .aspx page is in a subdirectory and not the site root.  Heres whats happening

I activate window2 when my main page is

/Website/default.aspx    the page is in the root (using this bit of code var oBrowserWnd = GetRadWindow().BrowserWindow;)

I call this code

var oBrowserWnd = GetRadWindow().BrowserWindow;
       
 oBrowserWnd.radopen("ArtistAdmin/BandMemberEditForm.aspx?ID=" + id, "BandMemberDialog");
             
  return false;

the edit form is found and opens ok

If the .aspx page happens to be in a subdirectory, eg

/Website/ArtistAdmin/ArtistAdminPage.aspx

the window cant be found because BrowserWindow is
/website/artistadmin/artistadmin.aspx

so radopen tries this


/website/artistadmin/artistadmin/artistadmin.aspx

How can I force radopen to use the root directory of my site ?

Marin Bratanov
Telerik team
 answered on 27 Jul 2011
2 answers
68 views
Hello,

I have used a RadSplitter with two RadPanes inside it. One RadPane have a RadTreeView and second one have RadGrid.

On the initial load of the Page both the panes are shrunk down and cramed into the left side of the Page, after completion of the page load they are expanded. 

This problem occurs in the Internet Explorer, while in Firefox and Chrome it works fine.


I have attached images. 
1) Problem Image : This is the Problem.
2) Actual Image    : This is the actual Image which shows the real output. 

Please provide me any solution to this problem.

Thanks in advance.
Rakesh Gupta
Top achievements
Rank 2
 answered on 27 Jul 2011
1 answer
97 views
When I bring up a radwindow, like below, it uses the currently set theme.
function ShowImport(sender, args) {
    var radWindow = $find("<%=ImportWindow.ClientID%>");
    radWindow.show();
}

However, when I bring up a radconfirm, it doesn't use the theme and instead uses the default theme.
function DeleteTemplate(sender, args) {
    radconfirm("Do you really want to delete the selected template?", onDeleteTemplate, 300, 100, sender, "Are you sure?");
}

Any idea what gives?

Thanks,
Jamie
Svetlina Anati
Telerik team
 answered on 27 Jul 2011
1 answer
54 views
When i set the height and width of the radeditor in millimeters the height of the content area in the radeditor is wrong.
What is does is set the height of the Top editor div in px instead of millimeters the min-height is correctly in millimeters.
This problem only occurs in IE8 (the only IE i tested) i also tested it in Firefox4 and there it worked correctly.
Dobromir
Telerik team
 answered on 27 Jul 2011
1 answer
32 views
Hi,

I found an issue with the document manager.

The first time when you upload documents (or delete an existing document), by selecting the document, the manager will update the link text with the selected document's title correctly. However, subsequently when you upload another document. The manager does not update the link text anymore.

I tried to replicate the issue on the online demo, it's also the same problem. Any solution with that?

Hope to hear from you soon. Thanks.
Dobromir
Telerik team
 answered on 27 Jul 2011
3 answers
81 views
Hi,

I'm using the current last release of Telerik.Web.UI (version 2011.1.519.40) and incorporated the FileExplorer into our extranet.
Some of our users are using the combination of IE9 compatibility mode with IE9 standards.
In this mode, the file select boxes after the first in the upload window don't work. I can reproduce this with the current demo's (http://localhost:48463/radcontrols_aspnetajax/fileexplorer/examples/default/defaultcs.aspx)

--> On Telerik.com : http://demos.telerik.com/aspnet-ajax/fileexplorer/examples/default/defaultcs.aspx

After opening this page, I set the mode from the developer window (F12) to  the combination of IE9 compatibility mode with IE9 standards.

Then press upload en press the second "Select". It doesn't do anything. 
What can I do to make it work?

Thanks in advance
Dobromir
Telerik team
 answered on 27 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?