asp.net

how to find html anchor control in telerik:radgrid ?

how to find html anchor control in telerik:radgrid ? ...

Create a desktop widget framework using asp.net.

Hi, I like to create a desktop widget framework using asp.net. its like yahoo widget or google widget any one able to create a simple widget application and plug in to this framework.any one give me idea for this how to develop this framework? ...

Load data after displaying all controls in browser

Hi, My page is very slow because of huge data.So i want to display the controls(Combobox,datagrid etc) in browser before the full data, bind to the controls. ...

What if DirectoryInfo.GetFiles().Length exceeds Int32.MaxValue?

By another question about the maximum number of files in a folder, I noticed that DirectoryInfo.GetFiles().Length is returning a System.In32, but the Maximum value of a Int32 is 2.147.483.647 (Int32.MaxValue) while on NTFS (an many other filesystems) the maximum number of files can go far beyond that. on NTFS it is 4.294....

ASP.NET chart control

Hi , I am using MS ASP.NET Chart control. I need to plot series dynamically with a group. The condition is same month on x axis but different appointments of that month on y axis. The chart is coming correct but legend color and appointment series colors are different. Has anyone worked on .NET Chart control ...

How to access the bound DataSource item in the ASP.NET ListView's DataBound event?

Hello everybody! I know the question has already been posted here but we didn't get to an real solution. I have bound my ListView to an SqlDataSource and I want to write some text in a control present in the view created in the LayoutTemplate depending on some properties of the rows returned. Obviously, I'm using the ItemDataBound eve...

Error when attempting to add MVC classes into an asp.net application

I have a large asp.net project to which I want to add MVC functionality. I have added the necessary references into the project (System.Web.Mvc (v 2.0), System.Web.Abstractions (v 3.5) and System.Web.Routing (v 3.5) and amended all the required files (Global.asax (routing requirements), the web.config, project (Controllers and View fold...

web.sitemap with IIS 7 in asp.net 3.5

Hi, I've a web application having web.sitemap (on root folder where web.config exists) in it to build a menu in master page. It works fine when I run it from Visual studio 2008 (vai development server on system tray) but when I run it under IIS 7 virtual directory (windows server 2008), it does not read the web.sitemap file and do not ...

To determine if a asp.net web service's web method returned an array successfully.

i have a simple asmx page with one web method which return array of an object. My question was , whenever this method is called is it possible to know that the array of an object was returned successfully. My asmx page using System; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; [WebService(Namespac...

Transactions on iSeries using .NET provider

Hello guys, i have multiple inserts to do so i want to do them in a transaction by calling a stored procedure on the iseries. I can't get it to work, it auto commits every insert i do so i figured i would try to do a transaction with just a simple file first and then go from there. The file is productest/cepf05 and when i first did the ...

Accessing value from ExtJS Radio button

So I declare an ExtJS radio button object like this: .AddExtObject("{xtype:'radiogroup', ref:'../AndOr', defaults:{name:'rdo-payee2'}, width:120, items:[{boxLabel:'And', checked:true, inputValue:'and'},{boxLabel:'Or', inputValue:'or'}]}") When I do this: if (checkWin.Payee2.AndOr.getValue() == 'and') { fundingRec.set(...

ASP.NET default resource provider

I have for my ASP.NET 3.5 web application project a common library that contains a resource file with string values. This library is shared with the business side (WCF hosted). I created a custom ResourceProviderFactory and ResourceProvider to load resources from the common library. So far so good, but I have other resource files which ...

MS SQL Timeout on ASP.NET Page but not in SSMS

When a sproc is executed on one of our ASP.NET pages, it times out on the SQL Server with the exception Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding.. When I execute the same sproc in SSMS, it returns relatively quickly. The SQL Server and IIS are on the same box. I logg...

Reading hyperlink information from an excel file using .NET

I am reading an excel file in C#.NET. The data is being read successfully but there is problem with some hyperlinks stored in the excel file. I can read their text but i dont know how to get the underlying link/url of the column. I couldnt find much help on google as well. if someone has worked in a similar situation please let me kn...

Can we add multiple files using a single ASP.NET FileUpload control?

We need to upload multiple files using ASP.Net in one go. One option is to use the ASP.Net FileUpload control but it seems that it can't upload multiple files in one go. Any other option or ASP.Net FileUpload control can do multiple uploads in one go with some tuning? ...

To check if session is available or not.

I tried some code in Application_Error like this Session["mysession"] = "Some message"; but the problem is sometimes session is not available in Application_Error. So I want to check whether session is available or not. ...

Asp.net GridView BoundColumn Format

Hi; Html Code: <asp:DataGrid ID="myGrid"> <Columns> <asp:BoundColumn DataField="CustomerName" HeaderText="Customer"> <ItemStyle Font-Bold="True" /> </asp:BoundColumn> </Columns> </asp:DataGrid> Code Behind: public string TestFunction(string str) { return str.replace("A","B"); } how to call TestFunction ? DataF...

ASP .net application finds local resource files in Web Development server, but not local IIS

When I run the application using the Web Developer it works fine. However when I run it using local IIS I get the following error: Any ideas? Thanks!! The resource class for this page was not found. Please check if the resource file exists and try again. Description: An unhandled exception occurred during the execution of the current...

Read csv file client side

Hi, I have to read the first couple of lines of a csv file client side to present the user with a preview before uploading a large file. I'm using c# with ASP.Net (VS2010) Does anyone know how this can be done? Also that it works in all browsers!?! (It's not possible to use activeX or so, we do not want our clients to install somethi...

When the schemas of database changed,how to use SqlWorkflowPersistenceService in WF?

Hi all For some reasons,the schemas of database is not dbo. When using SqlWorkflowPersistenceService in WF,there would be an error found "cannnot find Stored procedure 'RetrieveNonblockingInstanceStateIds'".But if I update the procedure from "XXX.RetrieveNonblockingInstanceStateIds" to "dbo.RetrieveNonblockingInstanceStateIds" there woul...