I have a question that is pretty basic, but for me as a new developer it's hard to figure this out.
I will try to explain it as good as i can.
I have 3 different .aspx pages where i have different RadGrid tables. And in each of them i have made Excel export available. I have made aspx.cs code in each of them but now i'm trying to put everything in just on class. My problem is that i don't know how to make a method that can get the ExportSettings to work for each of the RadGrids.
This is my method i made in the new class and "gvShipmentList" ist the name on one of my RadGrids. What do i have to do so i can reach all of my RadGrids through this method?
------------------------------------------
public static void ExportExcelOnItemCommand(object sender, GridCommandEventArgs e) {
if (e.CommandName == RadGrid.ExportToExcelCommandName)
{
gvShipmentList.ExportSettings.FileName = "ShipmentList";
gvShipmentList.ExportSettings.ExportOnlyData = true;
gvShipmentList.ExportSettings.IgnorePaging = true;
gvShipmentList.ExportSettings.OpenInNewWindow = true;
gvShipmentList.GridLines = GridLines.Both;
foreach (GridColumn column in gvShipmentList.MasterTableView.Columns)
{
column.Visible = column.Display;
}
gvShipmentList.ExportSettings.Excel.Format = GridExcelExportFormat.ExcelML;
gvShipmentList.MasterTableView.ExportToExcel();
}
}
-------------------------------
I hope someone can help me, and please, if i haven't given enough information then tell me so i can provide you with more. Like i said, i'm very new at this and trying to learn. But this was too hard.
Kind regards Tim
Hi,
I am using RadSpell and RadEditor, and have put following in web.config, but I still get error: "Web.config registration missing! The Telerik dialogs require a HttpHandler registration in the web.config file....". Why do I still get this error, and how do I make it go away ? Thank you.
<
httpHandlers
>
...
<
add
path
=
"Telerik.Web.UI.DialogHandler.aspx"
verb
=
"*"
type
=
"Telerik.Web.UI.DialogHandler"
validate
=
"false"
/>
</
httpHandlers
>
...
<
system.webServer
>
<
handlers
>
...
<
add
name
=
"Telerik_Web_UI_DialogHandler_aspx"
verb
=
"*"
preCondition
=
"integratedMode"
path
=
"Telerik.Web.UI.DialogHandler.aspx"
type
=
"Telerik.Web.UI.DialogHandler"
/>
</
handlers
>
</
system.webServer
>
Hi,
I am facing issue while recording with telerik in chrome,the recording dead slow.Can you please suggest me how to solve it?
Thanks & Regards
Vimala Padakanti
I must be doing something wrong, but can't make stacked bar to look the same as "not stacked".
Picture attached.
Can you recommend approach, please?
I am using VS 2017 and Telerik UI for ASP.NET AJAX R3 2018. When I create a new Telerik Project using the Telerik C# Web Forms Site Template (Blank) and I add the following snippet to the placeholder div tag in the Default.aspx page ...
<telerik:RadTextBox
ID="RadTextBox1"
runat="server"
Skin="WebBlue">
</telerik:RadTextBox>
<asp:RequiredFieldValidator
ID="TextBoxRequiredFieldValidator"
runat="server"
Display="Dynamic"
ControlToValidate="RadTextBox1"
ErrorMessage="The textbox can not be empty!">
</asp:RequiredFieldValidator>
... then the client side validation is not working.
When I enter a text and remove it, then the error message is not shown.
When I add jQuery by <script src="Scripts/jquery.min.js"></script> then client side validation is working.
That is not the correct solution as jQuery is already loaded by the telerik web ui assembly.
Adding a ScriptReference or a script ressource mapping is not solving the issue.
So, how I have to set up a telerik project to get the asp validators working as expected?
I would like to filter the FileExplorer results by combining a Session variable id and the remainder of the string.
We have a IssueID and a issue may have files associated with it. Once a supporting document file is uploaded it will have "<issueID>_" appended to the front, ie. 1009_myfile.txt. I need the search pattern to be something like Session("IssueID") & "_*.*".
How do I go about doing this?
Here is code the client-side control
<
telerik:RadFileExplorer
ID
=
"RadFileExplorer1"
runat
=
"server"
EnableCreateNewFolder
=
"false"
Height
=
"225"
Width
=
"890"
EnableAsyncUpload
=
"false"
>
<
Configuration
ViewPaths
=
"/SupportingDocs/"
DeletePaths
=
"/SupportingDocs/"
/>
</
telerik:RadFileExplorer
>
Tried the following in my code behind in the Page Load to no avail.
Dim
searchPatterns
As
String
() = RadFileExplorer1.Configuration.SearchPatterns
searchPatterns = Session(
"IssueID"
) &
"_*"
RadFileExplorer1.Configuration.SearchPatterns = searchPatterns
I have a radgrid that's in a NestedViewTemplate. Basically a details grid. I'm trying to access a combo box that's inside the grid in the NestedViewTemplate.
How can I find that control inside the details grid that's in a NestedViewTemplate
Thanks in advance
Hi! Good Evennig, currently I work with Kend for MVC and JavaScript and I want to know if there is anything like this : https://demos.telerik.com/aspnet-ajax/orgchart/examples/templates/defaultcs.aspx
Thanks
ALTER PROCEDURE [dbo].[SelectProductInfoByShipAndDate]
@CruiseLine nvarchar(max),
@Ship nvarchar(max),
@FromDate date,
@ToDate date
AS
BEGIN
SET NOCOUNT ON;
Select *
FROM dbo.Daily_Totals
WHERE CruiseLine IN (SELECT * FROM dbo.SplitParameterValues(@CruiseLine, ','))
AND Ship IN (SELECT * FROM dbo.SplitParameterValues(@Ship, ','))
AND [Date] BETWEEN @FromDate AND @ToDate
ORDER BY CruiseLine, Ship, [Date], Product1Cash, Product2Cash, Product3Cash, Product4Cash, Product5Cash, Product6Cash, Sales
END
Is it possible to process a button click event prior to doing the upload of the file?
What I am hoping to do is have a user submit a support ticket and have the ability to add a supporting document at the same time. When they submit the ticket it returns the new ID. I then need to upload the file and append the issueID to the front of the file name. Currently I click the button and it processes the file upload first and then finishes the button onclick event.