Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
331 views
hi.
i'm using with tableView.get_dataItems() for getting the current editind item in "OnCommand" client-event;
its working good, but get_dataItems()  not contains the new record  in case of insert.
How could i getting the current new values in client?

thanks
Eyup
Telerik team
 answered on 26 Sep 2012
1 answer
284 views
Hi,

I have a radGrid which uses automatic insert, update and delete and I use a form template to edit a row.  In the edit form, I have one RadAsyncUpload which I use to allow the user to select PDF's from their local machine.  The control works as it should (i.e. it loads the files into the temp folder and then moves them to the target folder when the update or insert commands are fired.

The problem I am having is I need to be able to grab the filenames and populate a table in a database once the files have been uploaded with these filenames.  I only need the filename, not the complete path on the server.

I am using a sqldatasource which uses a stored procedure to do the insert/update to the table.  The sqldatasource accepts a filename parameter which is used by the stored proc.

What I would like to know is:

  • How do I get the filename property for each file uploaded?
  • How would I pass the filenames to the sqldatasource parameter so that each filename can be inserted into the table? (i am unsure as to how multiple filenames can be passed to the stored procedure, when it is only really called once - i.e. when the update button is clicked.  I thought I may have to pass the filenames into the parameter as an array or something, or as csv list and handle this in the sql code, but I'm just guessing at this.)

I have tried a lot of different things and looked at various posts, but none of them seem to be helping me with this problem.

I really need to get this working and am getting very frustrated with it.  Any help would be much appreciated.

Thanks
Nicky
Top achievements
Rank 1
 answered on 26 Sep 2012
1 answer
97 views
I've noticed that the .racInput box in the RACB (InputType=Token) is only 22px wide when it is displayed inside of a RadGrid edit form. This causes the control to seemingly not work when you click on it unless you click on the far left of the empty space. My fix for now is just to call the click on the .racInput whenever the parent .racTokenList is clicked. Here is all I had to add to the page using jQuery:

$(document).on('click', '.racTokenList', function (e) { $(this).find('.racInput').click(); });

Another way of fixing it would probably be to resize the .racInput on display of the .racTokenList... and I'm sure Telerik will eventually fix the issue in the built-in code, but this was a simple fix for me for now. This may also help in other cases where the RACB is not originally displayed on the page.

Attached is what it looks like in our app using the WIndows7 theme. The .racInput is highlighted using the dev tools in Chrome.
Ivana
Telerik team
 answered on 26 Sep 2012
3 answers
96 views
I'm trying to use telerik asyncUpload, it works fine in all browsers but in IE9, I should turn on compatibility mode in order to see my file upload process after I select the file, but in your demo (http://demos.telerik.com/aspnet-ajax/upload/examples/async/webmail/defaultcs.aspx) it works fine in IE9 without need to turn on compatibility mode, how can I do something like your demo site for IE9?

also I'm going to store my images in database, do I need to perform postback? where I my files stored?
Plamen
Telerik team
 answered on 26 Sep 2012
4 answers
467 views
Hi

I use a RadComboBox with checkboxe that I hanle its event with javasript.

In server-side we need to set visibility of its items based on user search, then with javascript process them.

combo.get_items()   ::   in client-side return only those Items that are visible.

what should I do for it?

thanks.

Fatima
Top achievements
Rank 1
 answered on 26 Sep 2012
1 answer
88 views
Hi,
Pl's find the attachment. Rad Combobox shows different style? Why?

Thanks & Regards
Anzar.M
Eyup
Telerik team
 answered on 26 Sep 2012
4 answers
160 views
hi,
kindly help me i am using datepicker in radgrid filter.
i use range filter ,my problem is some times make post back the popup calender still show .
i want hide it with any ajax post back '
thanks
Ashraf
Top achievements
Rank 2
 answered on 26 Sep 2012
1 answer
39 views
I'm seeing that my rotator is not using all of the style settings. I wrap the control in a Div with the following class:

.messageText
{
    border: 1px solid black;
    width: 838px;
    height: 200px;
    background-color: #fff;
    color: #666;
    font: normal 11px Arial, Verdana, Helvetica, Sans-serif;
    text-align: justify;
    padding: 4px;
    margin: 5px;
}

It seems to respect everything except padding and margin which don't show up anywhere when viewed with Firebug.

Bug or feature?

Thanks!
Bozhidar
Telerik team
 answered on 26 Sep 2012
1 answer
57 views
Hi,

           I am getting following style for rad editor ribbon bar.
 
           Please find the attachment and  please let me know the solution.

Thanks,
PANDU
SANNIDHI
Top achievements
Rank 1
 answered on 26 Sep 2012
1 answer
71 views
Has anyone figured out how to make a RadGrid in inline edit more navigatable like the Kendo grid? Basically, click or double click to access the row/cell and on tab move to the next cell to enable edit?
Pavlina
Telerik team
 answered on 26 Sep 2012
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?