Try DotnetFunda, Questpond. The second one requires a payment for their training and dvd's. But the amount is very nominal and worth it.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
Try DotnetFunda, Questpond. The second one requires a payment for their training and dvd's. But the amount is very nominal and worth it.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
sumB wrote:
But i am concerned when i search a single record from database and bind a single row to the grid.
This is the query problem. Nothing to do with update panel,page or Gridview. Run the query using profiler so that you can come to know how much time it is taking to execute and where you can fix the problem.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
I have done some examples on Per Session and Per Call as provided in these urls, Three ways to do WCF Instance Managaement, and PerCall Service. Both the examples are almost same. My issue is, I am not getting the output correctly as provided in those examples. When I want to use Per Session, I need to declare the variable as 'static'. When I want to use Per Call, I need to declare the variable without the keyword 'static'. Is this the expected behavior or am I something wrong? Single Instance is working with/out static. Please provide any suggestions.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
First of all, I am not sure anybody is using .Net 1.1 in this world. Almost it has been upgraded 5 times after 1.1. :) However, there is a fix for your issue in 1.1 Just have a look at this
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
I have an aspx form which are having three usercontrols (basically 2 sets of radio buttons). All are placed dynamically on page load in a placeholder control. I want to display the other radiobuttons(usercontrols) based on the previous selection. So for eg: If I have three usercontrols, uc1, uc2, uc3 which are all having two sets of radio buttons. uc2 will display only if uc1 is selected and uc3 will display only if uc2 is selected. How can I achieve this through jquery/javascript? All these controls should be loaded and visible should be hidden while loading the page. I googled for sometime, but didn't get any effective result. Could anybody please help. Following is my code:
<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<%@ Register Src="~/DI_UserControls/AppForm0602.ascx" TagName="AppForm602" TagPrefix="AppForm602" %>
<%@ Register Src="~/DI_UserControls/AppForm0719.ascx" TagName="AppForm719" TagPrefix="AppForm719" %>
<%@ Register Src="~/DI_UserControls/AppForm0466.ascx" TagName="AppForm466" TagPrefix="AppForm466" %>
protected void Page_Load(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["con1"].ConnectionString.ToString());
SqlCommand cmd = new SqlCommand();
cmd.CommandText = "sp_GetPages";
cmd.CommandType = CommandType.StoredProcedure;
cmd.Connection = con;
cmd.Parameters.AddWithValue("@PageID", 12);
cmd.Parameters.AddWithValue("@ApplicationID", 157);
SqlDataAdapter adpt = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
adpt.Fill(dt);
cmd.CommandText = "sp_GetPageDependency";
cmd.CommandType = CommandType.StoredProcedure;
cmd.Connection = con;
cmd.Parameters.Clear();
cmd.Parameters.AddWithValue("@PageID", 12);
SqlDataAdapter adpt1 = new SqlDataAdapter(cmd);
DataTable dt1 = new DataTable();
adpt1.
I want to develop a page using MVC. The tricky thing is, the page should be an usercontrol which will have a list of static standard controls like textbox, radio button, drop downlist, checkbox etc. There will be multiple models, each models have different set of controls. So for example, Model1 will be having one radiobox, one textbox, and Model2 will be having two radiobox, two checkboxes etc. Finally it should be rendered appropriately in the view. How can I do this? Any article towards this would be great. Thanks in advance, meeram395
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
I am using webservice in my application. Inside that I have a function to register the remoting service. Following is my code:
RegisterRemoting();
private void RegisterRemoting()
{
try
{
WellKnownClientTypeEntry entry = RemotingConfiguration.IsWellKnownClientType(typeof(IManager));
if (entry == null)
{
RemotingConfiguration.RegisterWellKnownClientType(typeof(IManager), AmortisationGeneral.GetAppSettings("RemotingService"));
Hashtable properties = new Hashtable();
properties["name"] = "HttpBinary";
properties["useDefaultCredentials"] = true;
//SoapClientFormatterSinkProvider clientFormatter = new SoapClientFormatterSinkProvider();
BinaryClientFormatterSinkProvider clientFormatter = new BinaryClientFormatterSinkProvider();
HttpChannel channel = new HttpChannel(properties, clientFormatter, null);
ChannelServices.RegisterChannel(channel, false);
}
}
catch(Exception ex)
{
ex.Message.ToString();
return;
}
}
The uri is coming from an appsettings key which is as follows:
When I try to test the url as specified in the value tag, I was getting the following error:
System.ArgumentNullException: No message was deserialized prior to calling the DispatchChannelSink.
Parameter name: requestMsg
Is this something that the remoting service has not been installed properly in my local system? I am using VS 2005. I have tried almost all of the solutions found in google, but didn't solve the issue. Would be great if anybody provides some help on this.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
Thank you for the reply. I was actually looking for a similar kind of functionality. I will go through the same and come back to you.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
First of all, I am not sure whether this is the right forum to ask this question. If not, could you please help me in choosing the right forum. This may be a stupid idea, but I think it is better if I can develop this. I need some help to start this. We are storing our source code in VSS which is in UK server. Inorder to work locally in India, we need to connect to VPN, then to VSS to get the latest version of the code, which is in VS.Net 2008. Now, while opening the solution and also for checkout and checkin the files , and also getting the latest version to VSS, it is taking 2.5 - 3 hrs everyday which eats most of our working time. Is it possible to write a windows service which will connect automatically to VSS and download the source code to our local system every day. Obviously each person VSS id and pwd will be different, even though the path will be same. We can proivde this as input config. If this is possible, please guide me how to start with this. Any articles or urls will be great. Thanks in advance, meeram395.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
Check this links: VS 2008 Javscript Debugging Client Side Script Debugging in ASP.NET
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
Will ImageButton Control resolve your issue?
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
You can use LinkButton control in asp.net. Have a look here Another example : [Using LinkButton Server Controls](http://www.aspxcode.net/free-asp-net-sample-source-code.aspx?Topics=How to Use LinkButton Web Server Controls)
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
Thanks. I resolved the issue. The issue was, I have no Web Projects option while opening the solution file. I tried to open using WebSite option. So there was a patch up by Microsoft for Visual Studio 2005 Web Application Project Setup which I downloaded installed. It was working fine now.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
Purchased Version.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
I use the Custom version with SP2. Does that matters?
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
I have a VS 2005 application with all the source code files, web.config,Global.asax etc. 1) First I tried to open as such by double clicking on the solution. Then I got the error that 'The project file 'E:\ControlCentre_1\ControlCentre.csproj' cannot be opened. The project type is not supported. 2) Then I try to create a new application, try to add the existing project again got the same error. 3) I then create an App_Code directory and moved the Global.asax file into that directory, but end up with another class error saying that 'ABCLib' couldn't found where it is very well referenced. 4) Finally, I downloaded the VS 2005 plug-in as mentioned here and installed and tried both 1) and 2). But that also failed. Am I doing something wrong? Can anybody provide any help? Thanks meeram395.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
Ok. That makes sense. Thanks very much. I tried to view the reference in object properties and I can see two xml references, one is without Compact Framework and one is with it. So I believe that it is referencing from Compact Framework. Let me try to resolve this. Would be great if you can have some inputs. Thanks once again :)
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
Ok. The error doesn't have any relation with mobile development. The error occurs in a simple class which is having XMLTextWriting functionality
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
The version and runtime version is 2.0.0.0 only. Is there any other settings need to change?
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
I have a C# mobile application class. In that, there is a functionality which I use XmlTextWriter class. While compiling I am getting the following error:
The type 'System.Xml.XmlTextWriter' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Xml, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
I have added reference of System.Xml through Add Reference and also use the namespace by the keyword 'using...'. Still I am getting the same error. Any Idea how to resolve this? I am using Visual Studio 2005 SP2. Is this belong to some setup issue? Please help. Thanks meeram395.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.