Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
152 views

Hello!

I want to be able to edit a radgrid cell in place. When doing as the documentation suggests Telerik Web Forms In Place - RadGrid | Telerik UI for ASP.NET AJAX I encounter an issue. When editing a field and your at the bottom of the page it resets and scrolls back to the top of the page.

Is there any way to do this without updating the page or have it stay on the page where you want to edit?

 

Thanks in advance

Doncho
Telerik team
 answered on 13 Dec 2021
1 answer
276 views

Hello,

To provide a bit of background, I have a page which refreshes it's data every two seconds but doesn't actually visibly refresh (By using a RadAjaxPanel). I'd like to click a button on a data row and populate the data from that row into a RadWindow (Like an edit dialog), and also have additional buttons in that dialog for various operations.

I have a RadWindow and code attached to a button which should set the RadWindow to be visible, however the RadWindow does not appear.

Example Code:

In Example.aspx -

<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Style="width: 100%">

//////Some MasterTableViews and RadGrids with various data here with buttons to pop up an edit dialog////

</telerik:RadAjaxPanel>

<telerik:radwindow runat="server" id="RadWindow1" Visible="False">
    <ContentTemplate>
        <asp:UpdatePanel ID="Updatepanel1" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                <asp:Label ID="Label1" Text="I am an example" runat="server" />
            </ContentTemplate>
        </asp:UpdatePanel>
    </ContentTemplate>
</telerik:radwindow>

In Example.aspx.cs

   protected void RadGrid_ItemCommand(object sender, GridCommandEventArgs e)
    {

         this.RadWindow1.Visible= true;

}

 

When I click the button in the RadGrid to set the RadWindow to be visible, the .cs code executes but the RadWindow does not appear on the page.

 

Any help will be much appreciated.

 

Thanks,

 

Jack

Attila Antal
Telerik team
 answered on 13 Dec 2021
0 answers
164 views
Hello, I used a RadScheduler in timeline view in my ASP.NET project to manage the work schedule of employees. The problem is that the rows are way too tall : 


Ideally, the height of the rows would be the same height as the activities in it but I can't find how to resize them.

Thanks, Loïc.
loic
Top achievements
Rank 1
Iron
 asked on 13 Dec 2021
0 answers
84 views

when i try use 2  Horizontal mode timeline  in one page 

first timeline i can click renders buttons to navigate between periods

but second timeline buttons don't work

is there any solution to solve it ?

 

YU REN
Top achievements
Rank 1
 asked on 13 Dec 2021
0 answers
93 views

In Old Telerik Version, RangeValidator  triggers server side validation on Keypress.

But, in the latest Telerik version RangeValidator  triggers server side validation on Lostfocus (onBlur).

My Requirement is to trigger server side validation on KeyPress

Can you guide me how I can accomplish this with the latest Telerik Version. 

This is the current code:

                                RangeValidator rng = new RangeValidator();
rng.ControlToValidate = sControlID;
rng.CssClass = "val";
rng.Display = ValidatorDisplay.Dynamic;
rng.EnableClientScript = true;
rng.ErrorMessage = RangeErrorMessage;
rng.MaximumValue = RangeMaxVal;
rng.MinimumValue = RangeMinVal;
rng.EnableClientScript = true;//Add the validator
TextControl.Parent.Controls.Add(rng);
Page.Validators.Add(rng);

 

Thanks in Advance.

Dinesh
Top achievements
Rank 1
 asked on 10 Dec 2021
2 answers
516 views

Hello,

I have a RadGrid with a custom EditForm that I use to insert new items.  Within this form is a RadAsyncUpload control.  How do I make this control required without server side code?

Also, I'm a beginner with Telerik and have seen countless code snippets online.  None of them address having the control inside an EditForm, so if your solution could show a complete example vs code snippet I would appreciate it.

Jonathan
Top achievements
Rank 1
Iron
 answered on 09 Dec 2021
1 answer
148 views

Class Type - RadCombobox

Value=1  text=one  --> Select this value --> visible radcombobox 1 (Textbox1 visible false)

value=2  text=two --> Select this value--> visible radcombobox 1 (Textbox1 visible false)

value=3 text=others --> visible Textbox1 --> radcombobox 1(visible false)

then i click the class Type(Others)

 

all the controls in RadGriview.

 

i need solution using javascript

Please help.....

 

Attila Antal
Telerik team
 answered on 09 Dec 2021
0 answers
95 views

Hello,

The data I have coming back from the database is TRIM'ed up and when inspecting the RadGrid the cells do not have extra spacing:

 

However, when I use the built in export functionality to export the grid to an Excel document some of the cells suddenly take on "Blank" values. They become identified when enabling the Excel filter and selecting just "Blank" values:

When copying/pasting into Notepad++ the referenced cell that clearly has "Open" in the value is pasted as a 4 blank rows with no "Open" value to be found. This leads me to believe that somewhere along the export process the value is either lost or so many blank filler spaces are added that they conflict with the Excel filter. Has anyone run into something similar to this? Any suggestions appreciated. Thanks!

 

Matt
Top achievements
Rank 1
 updated question on 09 Dec 2021
0 answers
159 views

Facing the exception Could not find file 'C:\inetpub\wwwroot\source\App_Data\RadUploadTemp\16378221455987_23.PNG.tmp'. while uploading a file from RadAsyncUpload Control on an aspx Page, at the line 5 while trying to read the InputStream.

The Code is like below on Codebehind file;

Protected Sub AsnycUpload1_FileUploaded(sender As Object, e As FileUploadedEventArgs) Handles AsnycUpload1.FileUploaded
Try
Dim file As UploadedFile = AsnycUpload1.UploadedFiles.Item(0)
Dim bytes(file.ContentLength - 1) As Byte
file.InputStream.Read(bytes, 0, bytes.Length)
file.InputStream.Dispose()
Catch ex As Exception
doh(ex)
End Try
End Sub

please help in resolving the issue!

Vinay
Top achievements
Rank 1
 asked on 09 Dec 2021
2 answers
87 views

Hi Telerik Support Rep!

I want to have the demo of Gantt Chart using Telerik. I have downloaded its trial software suite using the link below

https://demos.telerik.com/aspnet-ajax/gantt/examples/overview/defaultcs.aspx. It was an exe file with the name "TelerikUIForAspNetCoreSetup". It has installed  its controls in the Toolbox but I am not been able to access Gantt Chart. 

I am following the demo solution from the same link but I am not been able to compile the project as the error says

"Error : Unknown server tag 'telerik:RadGantt'"

Plz help ASAP...I want to have the demo of GanttChart.

 

asif rehman
Top achievements
Rank 1
Iron
 answered on 08 Dec 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?