Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
108 views
I have this idea for a grid that I'd like to configure. Here goes:

1. I'd like to be able to click one cell in each column. Records would then be filtered according to the value in the clicked cell.

2. The clicked cell would change colour.

2. You must be able to filter several columns simultaneously.

3. Clicking an already clicked cell removes that filter.

I have nada idea as to how to get started. I have the grid in place, displaying all the relevant data. Now what?

Any ideas/pointers/ready-made-solutions out there? :-)

-JJ, Denmark
Radoslav
Telerik team
 answered on 09 Jan 2012
0 answers
65 views

Hi,

On my page, if the user checks a Checkbox, a RadGrid will programmatically be added to the page containing results from the database and a textbox for each row for them to input information.

They then click the button (outside the grid on the main page) to postback the information from the grid.

I tried to use .FindControl("myRadGrid") to get the grid on the click event but it is not there, due to the page life cycle. So I've tried to re-add the grid on Page_Init instead, but I can't do this because I would need to rebind the grid and would therefore lose the users inputs.

Can you help please?

Corina
Top achievements
Rank 1
 asked on 09 Jan 2012
3 answers
92 views
I've changed the
 <system.web>
      <httpRuntime maxRequestLength="102400" executionTimeout="3600" />
</system.web>
and the
<system.webserver>
<security >
    <requestFiltering>
        <requestLimits maxAllowedContentLength="1024000000" />
    </requestFiltering>
</security>
</system.webserver>
The progress bar will appear to upload but upon completion I just see the
file select and submit button again instead of the controls upload control
being hidden which is what is supposed to happen.
Dimitar Terziev
Telerik team
 answered on 09 Jan 2012
6 answers
215 views
Hi,

I have a RadGrid control that I am exporting to CSV.  Everything works great, except I cannot figure out a way to make an AjaxLoadingPanel appear while waiting for the export process to complete.  In other words, there is a few seconds delay after hitting 'export' and the file download dialog box appearing - during this delay there is no visual feedback to the user.

Is this even possible?

Thanks!
Alan T
Top achievements
Rank 1
 answered on 09 Jan 2012
1 answer
56 views
Hi all,
I have a problem with RADGRID below:
in ASP.NET PAge my code here:

<telerik:GridTemplateColumn UniqueName="lblConsigneMission" HeaderText="[ConsigneMission]">
                        <ItemTemplate>
                            <asp:ImageButton runat="server" ID="iconConsigneMissionPict" AlternateText="iconConsigneMissionPict" CommandName="SaveAttachedFile" CausesValidation="false" />
                            <asp:ImageButton runat="server" ID="iconDocRondePict" AlternateText="iconDocRondePict" CommandName="SaveAttachedFile" CausesValidation="false" />
                        </ItemTemplate>
                        </telerik:GridTemplateColumn>                   
                    </Columns>
                </MasterTableView>
                <ClientSettings AllowDragToGroup="True">
                    <Selecting AllowRowSelect="True"></Selecting>
                    <Scrolling AllowScroll="True" UseStaticHeaders="True" ScrollHeight="275px"></Scrolling>
                    <ClientMessages DragToGroupOrReorder="Drag to group" />
                </ClientSettings>
            </telerik:RadGrid>


In Master Page I have done "disable" telerik Ajax of 2 controls: iconConsigneMissionPict and iconDocRondePict 
<script type="text/javascript">
            function mngRequestStarted(ajaxManager, eventArgs) {
                if (eventArgs.get_eventTarget().indexOf("iBtnJournalPageSaveAttachedFile") != -1                   
                    || eventArgs.get_eventTarget().indexOf("iconConsigneMissionPict") != -1
                    || eventArgs.get_eventTarget().indexOf("iconDocRondePict") != -1                                                             
                    )                                     
                    eventArgs.set_enableAjax(false);
                centerLoadingPanel();
            }               
        </script>

When we click on one of 2 these controls=> it doesn't run (no action)

Could you help me to find the solution for this problem
Thanks alot.
Ky NGUYEN


Jayesh Goyani
Top achievements
Rank 2
 answered on 09 Jan 2012
1 answer
83 views
Hello,

I created some controls in Advanced Edit Template.And i want to pass data dynamically by click on Appointment.How i can find Controls Inside Advance Edit Template in Appointment click event

How i can bind data Dynamically to Advanced Edit Template

Thanks And Regards

N.Vishnu Vardhan reddy
Peter
Telerik team
 answered on 09 Jan 2012
1 answer
57 views
I have a website I am building and I am getting this persistent error that is driving me nuts because it does not do this every time. The website uses a master page which includes a header. I have a panelbar to separate sections and when you scroll you see the panelbar shows above the header menu. Does anybody know the cause of this? What am I forgetting to change? Also I have noticed that it does not do this on every computer. I know this is a simple issue but I cant figure it out and its driving me nuts. If you need me to post sections of the code or css please let me know and I will respond asap.


http://10.40.0.30:8040/login.aspx
user:test66
pass:abc123&
click organization ->> Search for organization -->> click any of them and then scroll down and up.

Kate
Telerik team
 answered on 09 Jan 2012
3 answers
126 views
I have a RadGrid with two GridTemplateColumns.
i need to tooltipsify the GridTemplateColumns, so i have taken two RadTooltipManager controls on the page

i have written the following code in Grids ItemDataBound event. (Here btnbooking and btnReference are button controls in first  and second Gridtemplatecolumn ) OnAjaxUpdate methods for RadToolTipManager's are OnAjaxUpdateBooking and OnAjaxUpdateReference.
in these methods i am loading Booking.ascx and Reference.ascx usercontrols.

these two usercontrols contains "Close" button, on click of these buttons i need to hide the Tooltip. 

 when i click the close button i am getting the following error.
Sys.WebForms.PageRequestManagerServerErrorException: Invalid JSON primitive:

please find the code in ItemDataBound event, OnAjaxUpdate and Javascript method for hiding tooltip
-- ItemDataBound Event
ToolTipManager1.TargetControls.Add(btnbooking.ClientID, btnbooking.Text,
true);
ToolTipManager2.TargetControls.Add(btnReference.ClientID, btnReference.Text, true);
 
 -- OnAjaxUpdate methods
protected void OnAjaxUpdateBooking(object sender, ToolTipUpdateEventArgs args)
        {
            Control ctrl = Page.LoadControl("~/ControlLibrary/Booking.ascx");
            args.UpdatePanel.ContentTemplateContainer.Controls.Add(ctrl);           
            AppWeb.ControlLibrary.BookingDetails booking = (AppWeb.ControlLibrary.BookingDetails)ctrl;
 
            WTButton btnClose = (WTButton)ctrl.FindControl("btnclose");
            if (btnClose != null)
                btnClose.OnClientClicked = "CloseTooltipManager";
        }
 
        protected void OnAjaxUpdateReference(object sender, ToolTipUpdateEventArgs args)
        {
            Control ctrl = Page.LoadControl("~/ControlLibrary/Reference.ascx");
            args.UpdatePanel.ContentTemplateContainer.Controls.Add(ctrl);           
            AppWeb.ControlLibrary.DualDetails dual = (AppWeb.ControlLibrary.DualDetails)ctrl;
            dual.PageType = ApptType.EXPORT_DROPOFF;
            dual.lGateApptAssoc_Id = Convert.ToInt64(args.Value);           
             
            WTButton btnClose = (WTButton)ctrl.FindControl("btnclose");
            if (btnClose != null)
                btnClose.OnClientClicked = "CloseTooltipManager";                       
        }
 
-- Javascript method
function CloseTooltipManager(sender, args) {
             
 
            var controller = Telerik.Web.UI.RadToolTipController.getInstance();
            var tooltip = controller.get_activeToolTip();
 
            if (tooltip) {
                tooltip.hide();
            }
        }


please anyone help me where i am doing wrong.

Jai
Jay
Top achievements
Rank 1
 answered on 09 Jan 2012
1 answer
111 views
Hello,

Can I populate a radgrid on right clicking (context menu) on a tree node so that the grid gets populated using ajax and the context menu also shows?
I tried it but the after the grid gets populated, the context menu disappears.

function OnClientContextMenuShowing(sender, args) {
  var treeNode = args.get_node();
   treeNode.set_selected(true);
/*
//Here I tried to call the ajax function for populating the grid
*/
  if (args.get_menu() != null) {
     setMenuItemsState(args.get_menu().get_items(), treeNode);
  }
}

Abhay
Dimitar Terziev
Telerik team
 answered on 09 Jan 2012
1 answer
144 views
Hello,
I want to display the Weekly or Monthly view without click in the navigation or setting the property(SelectedView).
I want setting using C# code to display weekly or Monthly view in the calender. I don't want to assign like this SelectedView="WeekView".
Please help me as soon as possible.

Thanks
Best Regards

Jiten
Peter
Telerik team
 answered on 09 Jan 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?