Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
160 views
I'm using a autocompleting and multicolumns radcombo box to produce an application.

Up to now I've hard coded the itemtemplate in the aspx page bt now I'm trying to roll it out a bit more dynamically.

Part of the application allows users to choose which database fields to include in the query so I won't know what to add to the <itemtemplate> until run time.

What is the best way to dynamically "autogenerate" the columns in the multicolumn combo??
Kalina
Telerik team
 answered on 26 Oct 2010
1 answer
90 views
Hello Team,

I have been searching for any kind performance improvement suggestions of RadGrid using Entity Data Model as source.

I could only find few links on LinqDatasource like
http://demos.telerik.com/aspnet-ajax/grid/examples/client/caching/defaultcs.aspx

Please provide any pointers for the same.


Daniel
Telerik team
 answered on 26 Oct 2010
4 answers
123 views
hi everybody!
I want kknow if there is a way to fire OnUpdateCommand event when the enter key is pressed.
I have already done the OnKeyPress event, but this is a client-side event, and I want when I press the key enter the OnUpdateCommand must be fired.
Radoslav
Telerik team
 answered on 26 Oct 2010
1 answer
171 views
         I need some help, I have a DataTable object from database  , I want to bind each data of DataTable  in Calendar .  Each data  shows in grids of calendar . For example, the first grid of '2010-1-1' shows sunny, the second grid of '2010-1-2' shows rainy, the third grid of '2010-1-3' shows snow, and so on .
         If you know how to do , please tell me , thanks! thanks!
Radoslav
Telerik team
 answered on 26 Oct 2010
1 answer
66 views
         I need some help, I have a DataTable object from database  , I want to bind each data of DataTable  in Calendar .  Each data  shows in grids of calendar . For example, the first grid of '2010-1-1' shows sunny, the second grid of '2010-1-2' shows rainy, the third grid of '2010-1-3' shows snow, and so on .
         If you know how to do , please tell me , thanks! thanks!
Radoslav
Telerik team
 answered on 26 Oct 2010
2 answers
66 views
I have rad windo manager on Home page defined like this:

<

 

telerik:RadWindowManager ID="radWindowManager" Style="z-index: 8001;"

 

 

runat="server" Skin="Vista" OnClientClose="OnClientClose">

 

 

<Windows>

 

 

<telerik:RadWindow ID="radWINModalPostLogin" runat="server" ReloadOnShow="True" DestroyOnClose="true" Behaviors="None"

 

 

Left="" VisibleTitlebar="False" VisibleOnPageLoad="false" Style="display: none;" Top="" Modal="True" KeepInScreenBounds="True" >

 

 

</telerik:RadWindow>

 

 

</Windows>

 

 

</telerik:RadWindowManager>

In the btton which opens Radwindow is Ajaxified. It's kind of wizard pages. But when user cancel out at any stage and clicks on the wizard button again it shows the window where user canclled out and whe I close that window after that start up window is shown. I don't understand what's happening. I have set DestroyONClose to ture.


 

Georgi Tunev
Telerik team
 answered on 26 Oct 2010
3 answers
111 views
Hello,

I was looking at the keyboard shortcut demo (http://demos.telerik.com/aspnet-ajax/window/examples/keyboardsupport/defaultcs.aspx) and only saw that a few commandNames were listed. I am looking for a complete list and couldn't find it anywhere. Does anyone know if there is documentation for this?

Regards,
Tom
Georgi Tunev
Telerik team
 answered on 26 Oct 2010
1 answer
90 views
Hi,
i've got a question, because im new to asp.net. Im trying to port mine app from WPF to ASP.NET, but got few issues. Im doing full ajax app, and i dont know how to achiv such scenario:

1. Default.aspx with RadWindowManager and a DIV that will contain website later.
2. Login.aspx just a form with login, pass and a button (it appears in RadWindow)
3. xxxx.aspx after successful login

so basicly in Default.cs i got 

protected void Page_Load(object sender, EventArgs e)
        {
            SessionUser sessionUser = (SessionUser)Session["User"];
            if (sessionUser == null)
            {
                ShowLoginWindow();
            }
        }

ShowLoginWindow() just open a RadWindow and till that everything works fine. Than in Login.aspx i use RadAjaxManager with button control to get click. Mine question starts here
1. How can i close RadWindow form code-behind.
2. How can i know at code-behind Default.cs that Login Window is closed, so i can load a site into DIV?

Also how do you use modal window? Im not talking about lock screen, because there is a bool to make modal or not, but how can i do something at code-behind, than forward data to modal window, get data from window and continue to execute code.
Something like:

Window window = new Window();
window.MineString = "Something";
window.ShowDialog();
MessageBox.Show(window.OtherString);

Ofc i know it cant be achiv like i did, but need something for such scenario.

Thanks, for help.
Georgi Tunev
Telerik team
 answered on 26 Oct 2010
6 answers
535 views
hi,

I have a asp:Button. OnCLientClick of the button, I call a javascript method-> Test()

function Test()
{
document.getElementById('Id of the combo box').disabled=true;
}

I am unable to do so. Please advice on how to proceed.

Thanks,
Saravanan
Kalina
Telerik team
 answered on 26 Oct 2010
1 answer
422 views
I am trying to figure out what to do when an image I upload to my database is smaller than my max height/width that I have setup for resize on upload. 

For example, I have my resize utlity resizing all images to be no larger than 1000 X 1200 pixels and this works great with RadBinary because it "fits" them into my various objects (thumbnail, full size, screen size, etc) at my specificied sizes (for example full size = 500 pixels width).  But my problem is sometimes I am supplied with photos that have already been resized to dimensions which are smaller than the ones I have setup for my project (for example I might be supplied with a 300 x 400 image).  This causes the image to be streched when I am using radbinary on my page because I have my sizes preset to 500 width.

I would like to know if there is a way to detect the image size from the database, then see if it is smaller than my presets (500 px), if so, then it would need to show the image in its largest format size and if not, show it in my preset size format. 

I found this article, but it is referring to using it in the grid, but I am not, I just have the files on my page.
http://www.telerik.com/community/forums/aspnet-ajax/binary-image/change-image-size-different-for-landscape-portrait.aspx

Thanks
Veli
Telerik team
 answered on 26 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?