Quantcast
Channel: Telerik Forums RSS
Viewing all 81499 articles
Browse latest View live

Edit mode in RadGrid

$
0
0

Hi Pavlina..Thanks for the response. I just removed the following code.RenderMode="Lightweight"

Then Edit Column was appearing. If I remove the render mode will it affect any other functionality in RadGrid..

Thanks


Change alignment between textLabel and valueField

$
0
0

i need to change alignment textLabel to right, and set the field of value on left.

This user interface way used for arab user.

i'm tired for change the frame or anything like this in dataForm between them.

The attached image said what i need exactly, Thank You.

Don't allow the to wrap the data in radgrid cell

$
0
0

The answer I found was to add the max-width property to the css:

I have used:

    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

 

This has given me what Hrushikesh seemed to be asking about.

Add UIViewController on alertView

$
0
0

I need to add UIViewController i created it To AlertView,

i added that and set bounds in alert view and all right, but when i click in button on viewcontroller anything wasn't happend!!

i need to interactive with viewcontroller from alertview

Can i do this? Thank You.

WinForms RadRichTextEditor Drag and Drop

$
0
0

Is it possible to drag selected text from a RadRichTextEditor to a RadListView?  If so, how would you do this in C#?

Thanks in advanced

George

Grid Validation confusion!

$
0
0

Hi, 

 

I am  new to Kendo and I am facing a very confusing problem that i cant solve.

 

I have a grid which contains 5 columns like so - RoleName, Description, isActive, isDeleted, Action.

Now i have validation just on the RoleName Column.

 

My issue is, I should not let the user Input duplicate RoleName on edit or on creating a new record. For example, RoleName = Admin already exists on the grid and when the user creates a new record he shouldn't be able to enter Admin again, i got this part to work however when the user edits the already existing row which contains "Admin" as the rolename and changes isActive, the validation fires again telling Admin already exists and i cant edit that row. How do i fix this?

 

fields: {
                            Id: { type: "number", editable: false },
                            RoleName: {
                                type: "string",
                                validation: {
                                    required: true,
                                    validateOnBlur: false,
                                    rolenameValidation: function (input) {
                                        if (input.is("[name='RoleName']") && input.val() !== "" && NetAppAssetRecoveryRoleAdminMethods.IfRoleNameExists(input.val())) {
                                            input.attr("data-rolenameValidation-msg", "Role Name already exists");
                                            return false;
                                        }
                                        else if (NetAppAssetRecoveryRoleAdminMethods.IfRoleNameExists(input.val()) == undefined)
                                        {
                                            input.attr("data-rolenameValidation-msg", "Role Name can contain only characters");
                                            return false;
                                        }
                                        return true;
                                    }
                                }
                            },.....
...............
...............

 

remove right click menus in kendo

$
0
0

This worked for me

$(".k-context-menu").remove();

Grouping

$
0
0

HI,

1. My First Clarification

I need to group concatenation of two hidden columns. Say for example - My Columns are 1. FirstName 2. LastName.

 

But I want to group by Cancatenation of EmpId - Dep (Example : Group BY: 1 - HR)

 

2. Second Clarification

Always I want to show the grouping columns with " No records found" message for individual group.

 

Ex : 1 - HR

No records found

2 - IT

FirstName  LastName

Palanisamy  N

 

. Please find the attached screenshot for further reference.

 

 


delete my account

$
0
0
Hi,

Thank you for reaching out.  This account has been deactivated from our system.

Regards,
Jameson
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items

design a simple, comfortable, friendly user interface for a WPF desktop application (by MVVM ) by C# in VS2013 on win 7

$
0
0

design a simple (no fancy/shining color change), comfortable, friendly (easy-to-use) user interface for a WPF desktop application (by MVVM pattern) by C# in VS2013 on win 7

I would like to design a WPF desktop application by C# in VS2013 on win 7.

I need to design an UI look like this attached example blow. I have checked the WPF toolbox in VS2013, I do not find a layout template that can provide an UI like this.

In order to design a simple, comfortable and friendly (easy-to-use) user interface, I have checked the links :

       prism http://compositewpf.codeplex.com/
        http://stackoverflow.com/questions/2135092/creating-a-nice-gui-in-wpf>
        http://ux.stackexchange.com/questions/10776/where-can-i-find-a-gallery-of-wpf-ui-examples

But, they are not a good fit for my application.

I need a user interface :
      1. some tool menus on the top such as "File", "Edit", "project", "tool" , "help", which look much like the most popular UI style in MS office tools.
      2. some shortcut icons for some hot uses below the tool menu
      3. The  left panel are separated into 3 parts : left, middle, right
      4.  Each part size can be changed by holding the vertical separator
      5 . Each part is separated into 2 vertical parts
      6. In left-upper part, there some tree-view buttons, when a button is clicked, a detailed subtree buttons are shown at the left-lower part.
     7. In the middle part, some data chart, tables, curves are shown at the upper-part and the related detailed data are shown at the lower-part.
     8. In the middle part, I need multiple tabs to show the data and charts
     9. In the right-part, it holds some animations related to the data shown in the middle part.
     10. the color of the application should be consistent, simple and flat (not much gradient change, e.g. ligth-gray is fine), not so fancy like prism.

Are there some templates similar like this ? 

Any suggestions ? Thanks !

 

RadDropdownlist selected value not working

$
0
0

hi, i use raddropdownlist to get value from raddatagrid when i click cell

this my dropdownlist databind code

private void showKategori()
        {
            try
            {
                string query = "select ID_Kategori, Nama from Kategori";
                SqlDataAdapter da = new SqlDataAdapter(query, con);
                con.Open();
                DataSet ds = new DataSet();
                da.Fill(ds, "Kategori");
                ddlkat.DisplayMember = "Nama";
                ddlkat.ValueMember = "ID_Kategori";
                ddlkat.DataSource = ds.Tables["Kategori"];
                //ddlkat.Text = "Pilih Kategori";
                con.Close();
            }
            catch (Exception ex)
            {
                con.Close();
                RadMessageBox.Show(ex.Message.ToString());
            }
        }

 

and this my datagrid code

try
            {
                con.Open();
                SqlCommand cmd = new SqlCommand("Select a.ID_Obat,a.ID_Kategori, b.Nama,a.ID_Supplier, c.Nama, a.Nama, a.Stok, a.Harga, a.Tanggal_Kadaluarsa,a.Tanggal_Masuk From Obat a JOIN Kategori b ON a.ID_Kategori=b.ID_Kategori JOIN Supplier c ON a.ID_Supplier=c.ID_Supplier", con);
                SqlDataAdapter da = new SqlDataAdapter(cmd);
                DataSet ds = new DataSet();
                da.Fill(ds);
                cmd.ExecuteNonQuery();
                if (ds.Tables[0].Rows.Count > 0)
                {
                    Griddataobat.DataSource = ds.Tables[0];
                    Griddataobat.Columns[0].HeaderText = "ID Obat";
                    Griddataobat.Columns[1].HeaderText = "IDKat";
                    Griddataobat.Columns[2].HeaderText = "Kategori";
                    Griddataobat.Columns[3].HeaderText = "IDSup";
                    Griddataobat.Columns[4].HeaderText = "Supplier";
                    Griddataobat.Columns[5].HeaderText = "Nama Obat";
                    Griddataobat.Columns[6].HeaderText = "Stok Obat";
                    Griddataobat.Columns[7].HeaderText = "Harga Satuan";
                    Griddataobat.Columns[8].HeaderText = "Tanggal Kadaluarsa";
                    Griddataobat.Columns[9].HeaderText = "Tanggal Obat Masuk";
                    Griddataobat.MasterGridViewTemplate.BestFitColumns();
                }
                con.Close();
            }
            catch(Exception ex)
            {
                con.Close();
                RadMessageBox.Show(ex.Message.ToString());
            }

 

 

and this my datagrid when cell is click

private void Griddataobat_CellClick(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e)
        {
            txtnamaobat.Text = Griddataobat.Rows[e.RowIndex].Cells[0].Value.ToString();
            ddlkat.SelectedValue = Griddataobat.Rows[e.RowIndex].Cells[1].Value.ToString();
        }

 

 

but my raddropdownlist not change after i click rad gridview

Rad Scheduler

$
0
0

Hello team,

I am using rad scheduler, while inserting new appointment email address is saved in the table. When exporting the appointment i want that email address is also get export with the appointment and when i send the appointment i want that email id is get filled in "To" filed in outlook .

Also How to change the caption of custom attributes in edit pop up in scheduler.

Thanks in Advance.

Incorrect ServerDoneResponse value when streaming is enabled

$
0
0
I am using Fiddler to analyze XHR calls an Angular web app makes. In one particular case, the HTTP request to the server completes in one second, and in response to the XHR.onload event the client code performs a long-running operation (that takes, say, 10 seconds). When streaming is not enabled, Fiddler correctly reports a ServerDoneResponse time as being one second after FiddlerBeginRequest. When streaming is enabled, however, ServerDoneResponse is 11 seconds after FiddlerBeginRequest, i.e., Fiddler is including the time the client takes in response to XHR.onload. Is this a bug in Fiddler, or is this somehow expected behavior? For what it's worth, Chrome's dev tools network tab seems to have the same problem, in that it includes the time taken in onload when reporting how long the request took. Interestingly enough, Chrome's timeline tab does not have this problem - it correctly reports how long the request took.

User documentation on some of telerik componenets.

$
0
0
Hello Sudarshan,

Information regarding all the available report items can be found under Report Structure node in our online documentation.

Please note, that PivotGrid control belongs to Telerik UI for ASP.NET AJAX. In Telerik Reporting, you can test CrossTab/Table item that has similar functionalities.

Regards,
Katia
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items

Kendo read url/ListView not working

$
0
0

Hi Alexander,

Thankyou for your response.When I have checked the browser's console,I have found out error:

Uncaught Error: Syntax error, unrecognized expression: #detailListView_E/1930/1/1     jquery.min.js:4.

Here my input is: E/1930/1/1

Could you kindly help me with this error.

 

Regards,

Jayaram

 

 

 

Attaching the file for your reference


Insert and Delete after binding to Datasource

$
0
0

Hi, 

  how to perform insert and delete operation after binding to a dataSource. I tried to solve in different ways but all ends in some issue.

  Create a dojo snippet to reproduce issue.

  Issues :-

  1.  After applying formula to a column data sheet.range("F2:F").formula("C2*D2");   try to add a row 

       Getting error - kendo.all.js:98306 Uncaught Error: Shifting nonblank cells off the worksheet is not supported!

   2. Change formula to sheet.range("F2:F14").formula("C2*D2"); leaving one final row.  Can insert one record.

       Is there any way to apply formula to all cells in column without affecting the add functionality.

  3. " dataSource.cancelChanges()" will  copies the below row to current row.

   

 

Insert and Delete after binding to Datasource

$
0
0

Which is the best way to perform CRUD operation in spreadsheet when bind to datasource.

for inserting -   spreadsheet.insertRow( )  or  dataSource.insert

Date / Time picker format problem in Grid

$
0
0

Hi,

I believe I have bumped into a styling problem. When a Kendo DatePicker or DateTimePicker is used in a Kendo Grid's filtering menu, the texts at centuries depth is not wrapped, thus appear broken. See attached screenshot & plunker: http://plnkr.co/edit/OsIlCii3AgJQsW2vELuF?p=preview

The problem seems to be caused by the following style:

.k-menu .k-menu-group {
  //...
  white-space: nowrap;
}

This is inherited from the filter menu's UL element.

Best,

 

Ama

HTML data provider not triggered upon pasting

$
0
0
Hi,

I currently implemented an intercept, such that when the paste command is triggered, it'll create a stream of the image and upload to s3 and then delete that image and paste an inlineimage of that now resides on S3. The richtextbox is not then converted to html immediately upon paste action, if I hit any key strokes then it'll be converted. Is there any manual way of triggering the htmldataprovider, maybe call that function or do a dirty trick such as enter in key then delete key. 

custom rich text editor default behavior

$
0
0
Hi Gita,

Thank you for writing.

RadRichTextEditor supports a right-to-left mode. If you import a document which has been saved as RTL then it would also be displayed as RTL by the editor. You can also explicitly set it by accessing the editor`s RightToLeft property: 
this.radRichTextEditor1.RightToLeft = System.Windows.Forms.RightToLeft.No;

I hope this helps. Should you have further questions please do not hesitate to write back.

Regards,
Hristo Merdjanov
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Viewing all 81499 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>