public
void TraducirMenuFiltrosGrid(RadGrid grid)
{
GridFilterMenu menu = grid.FilterMenu;
foreach (GridMenuItem item in menu.Items)
{
//change the text for the menu item with text StartsWith
switch (item.Text)
{
case "NoFilter":
item.Text =
"Sin Filtro";
break;
case "Contains":
item.Text =
"Que contenga";
break;
case "DoesNotContain":
item.Text =
"Que no contenga";
break;
case "StartsWith":
item.Text =
"Comienza por";
break;
case "EndsWith":
item.Text =
"Finaliza por";
break;
case "EqualTo":
item.Text =
"Igual A";
break;
case "NotEqualTo":
item.Text =
"Distinto de";
break;
case "GreaterThan":
item.Text =
"Mayor que";
break;
case "LessThan":
item.Text =
"Menor que";
break;
case "GreaterThanOrEqualTo":
item.Text =
"Mayor o igual que";
break;
case "LessThanOrEqualTo":
item.Text =
"Menor o igual que";
break;
case "Between":
item.Text =
"Incluido entre";
break;
case "NotBetween":
item.Text =
"No incluido entre";
break;
case "IsEmpty":
item.Text =
"Campo vacio";
break;
case "NotIsEmpty":
item.Text =
"Campo con valor";
break;
case "IsNull":
item.Text =
"Valor nulo";
break;
case "NotIsNull":
item.Text =
"Con valor";
break;
}
}
}
"A file with a name same as the target already exists and you have chosen not to overwrite it!"
To overcome this, before uploading, I have to click on refresh, which takes me back one folder, enter the uploads folder and then upload -- and then it will work.
Peter.
I have a RadGrid on my main page and I created a user control form to edit the data in the Grid. In that user control form I put another RadGrid the form with a GridDropDownColumn.
When you click "Edit" on the main grid, it'll bring up the user control form displaying the second RadGrid with all the items associated with current item that they're editing. Then when user adds an item to the second grid, they can select the item from the dropdown (there are over 60 different choices, and of those 60, you could have 60 items associated with that one item, hence why I went with another RadGrid in the user control form to add/delete).
On my User control form I put another SqlDataSource with a Select * From table Where ItemID = @ItemID
What I'm wondering is, is there a way to return the ItemID from the main Grid to the Grid on the user control form?
So that when you click "Edit" on the main page, it'll pass the ItemID to the user control from the main form and the select statement will only return all the items associated with that ID for the Grid on the user control form.
Thanks,
Brett