Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
228 views
Hi,

I have implemented a dropdown filter for the status column in the grid displaying requests
there are 5 status values. 

New
Open
In-Process
Resolved
Closed

I am able to filter the grid based on the drop down by selected one of the above values using the following code

protected void cbStatusFilter_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)
       {
           GridFilteringItem filterItem = (GridFilteringItem)grdRequests.MasterTableView.GetItems(GridItemType.FilteringItem)[0];
           Status = e.Value;
           (filterItem.FindControl("txtStatus") as TextBox).Text = e.Value;
           if (e.Value != "")
           {
               filterItem.FireCommandEvent("Filter", new Pair("EqualTo", "Status"));
           }
           else
               filterItem.FireCommandEvent("Filter", new Pair("NoFilter", "Status"));
       }
 
            private string Status
       {
           get
           {
               if (ViewState["Status"] == null)
                   return "";
               else
                   return ViewState["Status"].ToString();
           }
           set { ViewState["Status"] = value; }
       }

 What I want to be able to do is add an additional value in the dropdown called Unresolved which when selected should show requests with New, Open, and In-Process status. I am not sure how to go about implementing this.



How do I call the FireCommandEvent to filter by multiple values i.e New, Open, In-Process
thanks



Veli
Telerik team
 answered on 25 Oct 2010
1 answer
102 views
Hi,

Is it possible to achive Floating toolbar with RADToolbar Control.

Yana
Telerik team
 answered on 25 Oct 2010
1 answer
154 views
Is there a way to have RadScheduler reschedule all appointments based on an appointment move?  What I mean is, if the user moves an appointment, it should adjust the start/end times of the rest of the appointments to fill in any empty timeslots.

What I'm trying to do is have the scheduler detect empty timeslots and move appointments automatically when an appointment fits in the empty timeslot.
Peter
Telerik team
 answered on 25 Oct 2010
1 answer
130 views
Hello All,
                 I have nested Telerik RadGrid Inside the RadWindow means I am using telerik Rad gird, inside Rad window.And using the selected index change event of RADGRID I have to do some kind of Operation.
But the problem is that, after row clicking, row selection is NOT Persist. After making selection of Row the Event Fires and Some Operation get Done. But the Selection of the perticular Row Got Lost.

But when I use the RADGRID without nesting it in RADWindow all is work fine and the Row Selection Persist. But The problem got Occur When I put the RADGRID Inside the RAD Window.

Please Help me out about this Behaviour of the RADGrid.

Thanks in Advance!!!
Princy
Top achievements
Rank 2
 answered on 25 Oct 2010
1 answer
88 views
I have very basic code and scroll buttons are not displayed. Client side events are not working either (I've tried) :-(

My Telerik version is 2010.2.713.35

here's my code
function Repaint(sender, args)
{
    //this function never fires
    var tabstrip = $find('<asp:Literal ID="litTabPages" runat="server" Mode="PassThrough" />');
    tabstrip.repaint();
 
}
<telerik:RadTabStrip ID="tabPages" runat="server" Skin="Default" ScrollChildren="True"
ScrollButtonsPosition
="Left" Width="300px" OnClientLoad="Repaint">
            
</telerik:RadTabStrip>

tabs are added dynamically in code. (there are enough tabs for scroll to show up)
please, suggest a solution
Yana
Telerik team
 answered on 25 Oct 2010
1 answer
57 views
Does anyone know how to make RadDatePicker fully support TaiwanCalender?
RadCalender support that.
but when it return to DateInput then will change to normal calender.
like i chooese TaiwanCalender 100/01/01 it retrun to DateInput 2011/01/01
This is a big question.because if it can't solve then no one will buy my product.
most company in Taiwan are using TaiwanCalender.

Please help me. Thanks!
Daniel
Telerik team
 answered on 25 Oct 2010
1 answer
29 views
Hi

I created custom GridBoundColumn. I want to add required field validator in edit and insert form if the column is nullable. I want to do this for every custom column. How can i check if the data in column are nullable? When i look at DataTypeName i can not see if it is nullable or not.

Thanks
Veli
Telerik team
 answered on 25 Oct 2010
1 answer
105 views
Hi,

We are using Rad Controls and Rad Grid Extensively in our project.  Right now i am working on the optimization of the Rad Controls. I want to know few scenario what we had implemented in our application. My application Structure.
1) Master Page is header part contains the Rad Menu. On Menu Click Navigates to the respective content page.
2) All our content pages contains the RadGrid
3) We are using WebUserControl for the RadGrid EditForm.
Ref : http://test.aptisys.com/UOMSetup.aspx

Please answer my below queries based on the our above mentioned application UI Structure.
1)  We are using IBindableControl interface and bind the user control form elements that in turn automatically bind to the rad grid. (We are worried does it cause any performance issues? If the binding is automatic in this manner to the Rad Grid does it takes more memory or load time than manually binding using need datasource ?
2) Which one is more faster in terms of loading the data in the grid with the webusercontrol edit form with add, edit, update and delete feature? Is it Autobinding using Ibindable interface or Using NeedDatasource?  Which is more controllable?
3) If we set the view state as false in the grid and implemented the autobinding using IBindableControl Interface. Is to programatically able to rebind the data on update?
I have seen the below code in the support resource.
protected void MyButton_Click(object sender, EventArgs e)
{
       
//perform some actions here
       
RadGrid1.DataSource = null;
       
       
//call the Rebind() method after nullifying the data source
       
RadGrid1.Rebind();
}

4) How do you get the Rad Grid Reference if it is the WebUserControl? For example when we click the save button we need to make the data source null and rebind the update datasource.
5) Is it posssible to implement rebinding of the RadGrid without need datasource if the view state is set to false?
6) If possible can you send some examples how to do it?
7) Is not so even using the need data source how do you get the reference in the of the RadGrid since it is an Web usercontrol that is tied to the rad Grid as Edit Form?
8) Could you please send us some example for both the scenario rebind the data to the RadGrid after update or save if the view state is set to false using WebUsercontrol as edit form?
9) If the view state is set to false in the RadGrid and i am using need datasource? I have seen that Grouping, Filtering feature doesnt work.  What is the workaround for these scenarios? Pls send us some examples.
10)Pls send us the examples handling grouping, filtering for the above scenario, if the View State is set as false?
11) In what scenario i can used the Ibindable interface autobinding and in what scenario i can make use of need Datasource? Pls Advice.
12) In the Heirarchy Grid, Right now we are using the Autobinding, if we go for the manual binding using the needdatasource is it complex to implement all the grouping, filtering scenario using the webusercontrol as edit form?Could you please send some example using the manual binding webusercontrol -Heirarchial RadGrid Examples supporting the Grouping, Filtering, Sorting, etc.
13) We are using the image icon as the view button on each row of the rad Grid, you can see from our url mentioned on top.? Does the image icon in the row cause any performance issue?
14) Using the Tooltip Manager in the RadGrid causes any Performance issue? What are the work around? Please advice with examples.

Thanks & Regards
Pavlina
Telerik team
 answered on 25 Oct 2010
1 answer
71 views
Hello

i am using outlook panel bar in my page.
i want to kept it in a raddock.

but when i run this the

 

OnClientItemClicking () function in the panelbar is having some errors.
when i placed the panelbar outside the raddock it works correctly..
please help me..

thanks in advance.

Nikolay Tsenkov
Telerik team
 answered on 25 Oct 2010
3 answers
120 views
Hi,
I need to know where call  and ajaxRequest in a particolar scenario:

When i click in ContexMenu of a RadTreeView i open a radwindow that receives some arguments from the RadTreeView .
On the radwindow i have two hiddenfields and a radajaxpanel that contains a formview.
I Get the args on the rad window with this javascript function

function
pageLoad() {txtInputIdLinea = document.getElementById('hdfIdLinea');

 

 

 

var currentWindow = GetRadWindow();

 

txtInputIdLinea.value = currentWindow.argument.Idlinea;}

 

 

The datasource of the formview has hdfIdLinea as a parameter.

The problem is that when the radwindow finish "loading" the formview didn't see the value set in hdfIdLinea, so  after setting the value i add an ajax Request like this
$find(

 

"<%= Panel.ClientID %>").ajaxRequest("Update panel");

And It works, but this code run in a loop and i have this exception
Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed.

May you help me?. I need to force a postback of the FormView once time after the radwindow is loaded.
thanks._

 

Maria Ilieva
Telerik team
 answered on 25 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?