Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
292 views

We have an ASP.Net application that is contains a tab control with several tabs. At one time, when you would do Print from the browser, it would print all the tabs at once. That no longer works now. Neither of the code snippets help...

@media print 
{
    .k-tabstrip .k-content
    {
        display: block;
    }
}

...or...

<style type="text/css" media="print">
        .rmpHiddenView {
            display: block !important;
        }

        #NavigationTab, #btnNew, #btnSave, #QRDiv, .hidePrint, #cboChecklists, #cboJobsWithChecklists {
            display: none;
        }        
    </style>

Here is the code we're using to get the tabs set up...

<telerik:RadTabStrip ID="NavigationTab" runat="server" SelectedIndex="0" MultiPageID="NavigationTabPages">
                    <Tabs>
                        <telerik:RadTab runat="server" Text="Shop" Owner="NavigationTab" PageViewID="ShopPageView"></telerik:RadTab>
                        <telerik:RadTab runat="server" Text="Testing" Owner="NavigationTab" PageViewID="TestingPageView"></telerik:RadTab>
                        <telerik:RadTab runat="server" Text="Testing Coordinator" Owner="NavigationTab" PageViewID="TestingCoordinatorPageView"></telerik:RadTab>
                        <telerik:RadTab runat="server" Text="Punch List" Owner="NavigationTab"></telerik:RadTab>
                        <telerik:RadTab runat="server" Text="Shipping" Owner="NavigationTab" PageViewID="ShippingPageView"></telerik:RadTab>
                        <telerik:RadTab runat="server" Text="Notes" Owner="NavigationTab" PageViewID="NotesPageView"></telerik:RadTab>
                        <telerik:RadTab runat="server" Text="QR Code" Owner="NavigationTab" PageViewID="QRPageView" Visible="False"></telerik:RadTab>
                    </Tabs>
                </telerik:RadTabStrip>
                <telerik:RadMultiPage ID="NavigationTabPages" runat="server" SelectedIndex="0">
                    <telerik:RadPageView ID="ShopPageView" runat="server" >

Any thoughts about what might be causing this?

 

 

Joseph
Top achievements
Rank 1
 answered on 22 Aug 2017
8 answers
221 views
Hi,

               Iam Using RadCalendar Control. Iam displaying Year view Calendar in 4 Columns and 3 Rows by setting MultiViewColumn property and MultiViewRow property. Now Iam able to access only main Header i.e, Year Header not Month Headers. My Requirement is when i click on Particular month i should display only that month other months shouldn't appear. But Iam not able to click on Months in my RadCalendar(Year View). I need help on this Issue..


Thanks & Regards,
Pavani
Daniel
Top achievements
Rank 1
 answered on 22 Aug 2017
1 answer
355 views

Hi Team, 

I have added RadConfirm() in the ASCX code behind on radbutton click page. But it's failing  in runtime throwing the runtime script error "JavaScript runtime error: Unable to get property 'radconfirm' of undefined or null reference".

window.radconfirm=function(h,a,g,d,b,f,c){var e=GetRadWindowManager();

return e.radconfirm(h,a,g,d,b,f,c);

};

here 'e' is undefined. 

My ascx code behind 

 else if (projectDropdown == ApplicationConstants.WF_CURRENCY_CONVERSION_CUBE_DISPLAY)
                        {
                            string Tag = string.Empty;
                            string confirmMsg = string.Empty;
                            List<string> factTag = presenter.GetFactTagAssociated(projectId, DsId);
                            if (factTag.Count > 0)
                            {
                                confirmMsg += "The listed facts will be impacted. <br/>";
                                foreach (string tag in factTag)
                                {
                                    Tag += tag + ",";
                                }
                                confirmMsg += Tag;
                             
                                confirmMsg += " <br/> Do you want to continue?";
                            }
                       
                           RadAjaxManager.GetCurrent(Page).ResponseScripts.Add("radconfirm('" + confirmMsg + "', callbackFunctionPerformStartProcessValidation , 300 ,100 , null ,'" + ApplicationConstants.CLOSE + "' )");

                            return;
                        }

 

ascx Script block

  function callbackFunctionPerformStartProcessValidation(arg) {
                if (arg) {
                    debugger;
                    var argument = "Start Process";
                    $find("<%= RadAjaxManager.GetCurrent(Page).ClientID %>").ajaxRequest(argument);
                }
            }

I have added telerik:RadWindowManager above the radscript block and below the script block too. but it's not working.

Please let me know how to progress. It's blocking me.

 

Thanks,

Rosalini

Marin Bratanov
Telerik team
 answered on 22 Aug 2017
3 answers
717 views

Is anyone else getting this problem with a basic AsyncUpload upload, we have started to get this exception a lot since a windows update was installed:

https://support.microsoft.com/en-gb/help/4032115/july-2017-preview-of-the-quality-rollups-for-the-net-framework-3-5-4-5

It does not seem to be telerik version specific as this is affecting websites using the old DLL too.

The call stack is as follows:

==

System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.IO.IOException: The process cannot access the file because it is being used by another process. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.File.InternalMove(String sourceFileName, String destFileName, Boolean checkHost) at popup_AddBulkFiles.RadButtonSaveFile_Click(Object sender, EventArgs e) at Telerik.Web.UI.RadButton.OnClick(ButtonClickEventArgs e) at Telerik.Web.UI.RadButton.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

==

Also more seriously it seems to be corrupting files uploaded too e.g. a chunk of a file which was at the beginning is being duplicated in the middle.

I would report this as a bug but I have not been able to replicate it from my end.

Thanks

Marin Bratanov
Telerik team
 answered on 22 Aug 2017
6 answers
223 views

Normally the following approach works for me:

            window.onload = function () {
                
                var map = $find("<%=RadMap1.ClientID%>").get_kendoWidget();
                map.layers[3].hide();
            }

However, in particular case this approach hides layers, but on map.layers[3].show() it does not show layer.

I also tried to play with opacity: map.layers[3].options.opacity = 0.9, but no luck

Any thoughts?

David
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 21 Aug 2017
1 answer
251 views

Hi,

I am using RadNavigation for a nav in header column. The nav is aligned to right side. How can i get nodes to expand to the left side?

As you can see in the image, with default configuration the expanded node get cut of, as there is to little space to the right.

Maybe there is a better way solving this, rather than using RadNavigation?

Thanks for your help.

Magdalena
Telerik team
 answered on 21 Aug 2017
3 answers
66 views

My current scenario is same as like here
Filter - Rad Grid filtering with Rad-filter 

https://demos.telerik.com/aspnet-ajax/filter/examples/integration/defaultcs.aspx?product=filter

If we go through this link, here columns are not alphabetical(ORDER-ID first and last FREIGHT)
grid should be the same way as UN-Ordered/written, but when adding expression/group, filters should be alphabetical order(freight should come first)
trying to load filters alphabetical order while loading grid at page load

Marin Bratanov
Telerik team
 answered on 21 Aug 2017
3 answers
271 views
My current scenario is same as like here
Filter - Rad Grid filtering with Rad-filter https://demos.telerik.com/aspnet-ajax/filter/examples/integration/defaultcs.aspx?product=filter
If we go through this link, here columns are not alphabetical(ORDER-ID first and last FREIGHT)
grid should be the same way as UN-Ordered/written, but when adding expression/group, filters should be alphabetical order(freight should come first)
trying to load filters alphabetical order while loading grid at page load
Marin Bratanov
Telerik team
 answered on 21 Aug 2017
1 answer
76 views

 Telerik UI for ASP.NET AJAX_2016.1.113 Dev

i'm developing applications that accept 2 languages arabic and english 

after changing ui culture to be arabic RadScheduler doesn't read any  appointments i tried to set the culture to be always (en-us) also the same error 

i attached  photos for the english layout and arabic lyaout 

 

thanks 

ahmed
Top achievements
Rank 2
 answered on 21 Aug 2017
0 answers
109 views

I have developed context menu for enable multiple options on right click of Row selection. 

In Batch Mode : When I select multiple cell and right click to open context menu, selection disappear and only single cell is getting selected. I want to keep all the cell selected.

In Inline/Popup/Form : It working correct and getting all the rows selected on right click. I want to apply same behavior for Batch mode as well.

I have attached clip to show demostration

Hardik
Top achievements
Rank 1
 asked on 21 Aug 2017
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?