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

hello, telerik
en,About the question 2, I met 2questions.
1. In the server-side code,How do  I open the radwindow?
2. For the window opened ,I have a  "<asp:button runat='server'>,How do  I close the current window when I clicking the button at server side after I executed persisting operation(such as update a row in the table)?
Shinu
Top achievements
Rank 2
 answered on 02 Mar 2010
1 answer
254 views
Hello,

I am trying to get the text from each GridFilteringItem on the RadGrid that I am using.  I can get the filtering item, but the text value is always an empty string, even when I have something in the filter.

Here is the code:

protected

 

void rgContacts_OnItemCreated(object sender, GridItemEventArgs e)

 

{

 

if (e.Item is GridFilteringItem)

 

{

 

GridFilteringItem filteringItem = e.Item as GridFilteringItem;

 

SetGridFilterItemWidth(filteringItem, rg_CONTACTS);

 


TextBox
contactName = (TextBox)filteringItem[CONTACT_NAME_COL].Controls[0];

 

 

if (contactName != null)

 

{

 

string contactNameFilter = contactName.Text;

 

 

if (!string.IsNullOrEmpty(contactNameFilter))

 

{

 

var query = from c in contactResultItem where System.Data.Linq.SqlClient.SqlMethods.Like(c.ContactName, "%" + contactNameFilter + "%") select c;

 

}

}

}

}

contactName.Text is always an empty string.

Suggestions?

Thanks,
Dave

Shinu
Top achievements
Rank 2
 answered on 02 Mar 2010
0 answers
129 views
Dear Telerik Team,

                    Thanks for all your support to make our applications easier. And my all requirements are fulfilling with your controls. Now i need a support on RadScheduler resources that I am creating resources (as per Maximim no. of appointments per slot) where each resource represents the number of the appointment. I want to create an appointment in any slot in any resource which will reflect the all other resources and span the appointment as one appointmeent for all the resources. Is this is possible?.

I am attaching a image which represents the above requirement.


Thanks and Regards
--------------------------
K  RAMU
Pandu
Top achievements
Rank 2
 asked on 02 Mar 2010
8 answers
448 views
On my page, I only have the following two controls RadScriptManager and RadComboBox.  When the page loads the Telerik.Web.UI.WebResource.axd is 325K.  How can I get this smaller.  I have already tried adding RadCompression and it does not get smaller.
Andy Macourek
Top achievements
Rank 1
 answered on 02 Mar 2010
2 answers
160 views
We are using a virus checking service that accepts the filebytes from the file upload control as a parameter. How would I access this in the ItemCommand in the looping statement?

If I can't do it, is it possible to override the default upload control and use a regular file upload component?
RadFileExplorer explorer = sender as RadFileExplorer;  
foreach (UploadedFile file in explorer.Upload.UploadedFiles)  
{  
    bool bFileIsVirusFree = Helper.IsFileVirusFree(file.FileBytes);
} 
Jim
Top achievements
Rank 1
 answered on 02 Mar 2010
5 answers
278 views
Hi,

I have been tackling very weird symptom in my project. During post back (any post back for ex drop down post back ) , the upload progress was showing (uploading about 200Kbyte) even though there is no file selected.

capture can be seen at
http://www.billnguyen.net/uploading.jpg


Is there any clue for me to work on?

Many thanks
Yang Qu
Top achievements
Rank 1
 answered on 01 Mar 2010
4 answers
793 views
Hello,

I currently have a page setup to display a RadGrid that is populated from a DataView created from XML.  The RadGrid uses the NeedDataSource method to bind, and relies upon AutoGenerated columns, because the columns are always changing, but the performance seems off a bit.  In the ASPX page none of the columns are defined in markup, its basically blank other for some general settings.  Sorting is enabled for the RadGrid, but is not in use for initial page load.

For 25 rows of data it takes the server 5.42 seconds to process the request, but 4.45 of those seconds are dedicated to data binding.

For 500 rows of data it takes the server 35.40 seconds to process the request, but 34.96 of those seconds are dedicated to data binding.

I did the calculation for data binding by recording the time when data binding and data bound is called for the RadGrid.

My data source is created from XML, processed by our own system, and returned to the RadGrid as a DataView, and is pretty quick.  We also have a custom To Excel function which also takes about 0.5 seconds to export 500 rows, so the data source is pretty fast.

Also:  I have been looking deeper into the DataBinding by looking at the ItemDataBound method and found that this function is called on average every 0.11 seconds until data binding is complete.
Michael Fuller
Top achievements
Rank 1
 answered on 01 Mar 2010
1 answer
110 views
I have a normal webpage I'm building, and the  normal redirects caused by links on the page cause no issues, but once I use the telerik radmenu to navigate to another page, upon loading of that next page, my silverlight application that's on the master page doesn't load anymore  the error I get is 2104 Initialization error.  WHich all the google searches are trying to solve the problem for people who get the error constantly and the silverlight app never loads.

In my case, the silverlight app works fine, until I try to click on a link in the asp.net ajax menu.

What do I do?

Here is the page I'm working on so you can see the problem. 

link to site
Blasty
Top achievements
Rank 1
 answered on 01 Mar 2010
1 answer
51 views
I am in the process of converting from Classic to Prometheus and could really use to have both sets of controls available in the toolbox. I just installed Prometheus and my classic controls disappeared.

Can I have both?
Dana
Daniel
Telerik team
 answered on 01 Mar 2010
2 answers
79 views
I have a slider that contains a collection of fiscal years, and I want the right-most fiscal year to be selected by default.  I was able to accomplish this in the past by populating hte slider's items in it's Init event handler, and setting its value equal to to its (Items.Count - 1).

In this scenario, however, I cannot populate the slider's items until its Load event handler, because its items depend on another control's SelectedValue, which doesn't equal anything when the any control (or even the page itself) is being initialized.

I've tried playing with Session Variables in order to determine when the slider is being initialized vs. loaded, but to no avail.  Does anybody have any suggestions?  Thanks!

 

Ryan
Top achievements
Rank 1
 answered on 01 Mar 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?