Please tell me what I'm doing wrong. I'm using the SearchPattern of an ImageManager, to limit the extensions to a folder.
I use the * character for easily recognizing extensions (*.jp*). This works for showing the files, but when I try to upload a file with extension .jpg, I get a message saying "The extension of the upload file is not valid. Please, provide a valid file!"
Ok, this is really odd behavior. I'm running windows Vista with IE7 and the 2009.1 402 version of the RadControls.
I've got a page with a radsplitter with two panes; a left and a right. A rad treeview sits in the left pane which contains a bunch of links to local pages and when you left click on a treeview node the content loads in the right pane. I've set all of the RadTreeNodeBinding targets to the right pane's client id as seen below in the Page.Onload event. However we just noticed that if you right click a treeview node and select "Open in a new window" and then go to the new window that was opened and then navigate back to the main page that has the splitter/treeview then any node you click on will load the url in the entire window rather than just in the right pane. I've winmerged the source html between pages that exhibit the expected behavior and pages that show this un-expected behavior and there is no difference. My only conclusion is there is some sort of dynamic javascript used by the radtreeview and the splitter that has a defect.
foreach (RadTreeNodeBinding binding in TreeView2.DataBindings)
{
binding.Target = ContentPane.ClientID;
}
Create and run a test project based on the info provided and left click on some links to confirm that the links open in the right pane.
Right click a treeview node and select "open in a new window".
Once the new window opens type in the url for the page from step one and navigate to it.
Now left click any treeview node and see how the url no longer opens in the right pane, but rather navigates the entire window to the selected url which is not the expected behavior.
Hi! I have a radgrid which has GridBinaryImage column and server side code to bind the data from the grid. My problem is I still can't display the image correctly in grid even if my image is byte[] type in c# and image type in sql db.
I feel confused, because nearly all live demos that illustrate filtering stuff use SqlDataSource for data binding, not NeedDataSource handling. Every time I try to filter the grid by username I get an error which says "Expression expected". Could anybody give me a tip that would help me to solve the issue without changing the way data binding is done?
Hi
I Used RadGrid. Herewith i have load 1000 Records. Each Page Index Shows 25 Records. it is Working Properly. When i saw the View Source the Record Showing only 25 Records(view Html Source) it is good. But The Same way i used to Another Grid But the View Source Shows the 1000 Records in Html View. In order that the Gird page is Loding Slowely. I don't know.. Why One Grid View Source is displaying Corretly.. and Another one is Wrong... Let me know how can i solved this problem...Herewith i have give my sample Coding here.
if (JSSessionHandler.GetSessionValue("ImageUploadID") != null)
{
if (JSSessionHandler.GetSessionValue("ImageUploadID").ToString() == "OutSideVendorImageUploaded")
{
// To do Something
this.griduniversal.MasterTableView.Rebind();
}
else if (JSSessionHandler.GetSessionValue("ImageUploadID").ToString() == "OutSideVendorLeadImageUploaded")
{
// To do Something
this.griduniversal.MasterTableView.Rebind();
}
I just upgraded Chrome to the latest beta 2.0.169.1 and the toolbar buttons disappeared. Works fine in all other browsers including the old Google Chrome 1.0.
When a node is deleted through client side javascript code, the tri-state check box functionality is not working as expected.
Check state of the ancestors of the deleted node are not updated.
Only parent of the deleted node's checkstate gets updated. Grand Parent of the deleted node's check state is not updated.
please find below code for deleting a node.
function DeleteNode(nodeID) {
var tree = $find("<%= RadTreeView1.ClientID%>");
var node = tree.findNodeByValue(nodeID);
tree.trackChanges();
node.get_parent().get_nodes().remove(node);
tree.commitChanges();
}
But when a new node is added to the tree, corresponding ancestors check state is updated as expected. Adding a new node to the tree is not a problem.
Please find below code for adding new node.
function AddNewNode(newNodeID, title, direction, siblingNodeid, parentid) {
var tree = $find("<%= RadTreeView1.ClientID%>");
var pnode = tree.findNodeByValue(parentid);
var snode = tree.findNodeByValue(siblingNodeid);
var index = snode.get_index();
tree.trackChanges();
var newnewnode = new Telerik.Web.UI.RadTreeNode();
if (direction == "below") {
pnode.get_nodes().insert(index + 1, newnode);
} else {
pnode.get_nodes().insert(index, newnode);
}
newnode.set_value(newNodeID);
newnode.set_imageUrl("../images/GreenDot.gif");
newnode.set_cssClass("tree-node");
var attributes = newnode.get_attributes();
attributes.setAttribute("NodeName", title);
attributes.setAttribute("ParentID", parentid);
var html = "";
var x = 0;
html += " <img src='../images/Q.gif'align='bottom'border='0'/>";
Hi,
I have a very serious proplem related to my pages use RadAjaxManager v2008.2.723.35
I noticed that the page without RadAjaxManager that costs arround 200 KB jumps to 1.2 MB using RadAjaxManager
this realy effects the overall performance of my web application and dangerously decrease the time needed to load each page
I am using telerik:RadGrid for insert, update, delete records in one of my project. My problem is instead of delete button or delete image i want check box in each row and a delete button in header of the grid, in which i can checked one or more checkbox and by click on the delete button it deleted the checked rows from the grid.
I am using a RadTreeView control that uses an “OnClientDoubleClick” event that changes based on the state of the page. The functions tied to this event are working correctly. My issue is that on every double click, if the node has children, the node is expanded/collapsed based on its state. Is there a way to disable the “expand/collapse on client double click” functionality?