I want to create a control just like a Panel.
I want my control to accept some controls as childs without typing the template name, just like the Panel, as shown here:
<asp:Panel runat="server">
My content
<div>Content</div>
</asp:Panel>
I have controls with content inside without telling what is the ITemplate.
I basically w...
I am getting confused here. I am watch an educational tutorial. The speaker defined .Net as Library not dare to say as framework. As far as I know .Net is a Framework. Is there anyone who can explain, if .Net is framework or a library.
Thanks
After the answer,
But the way the speaker define a Framework as follows
1. At least a portion...
I keep hearing that the server side ASP .NET AJAX controls (like UpdatePanels) are not truly AJAX though they seem like it, because rendering is not completely on the client side. I'm trying to understand this with more clarity. Could someone elaborate?
Thanks...
...
I would like to create a mapping table between the value of an enum and an action / controller (i.e. Dictionnary). Is there something already defined in MVC 2 that I could reuse or I have to create my own classes?
Here is what I would like to do:
<%= Html.ActionLink(this.Model.Mapping[MyEnum.Value].Action, this.Model.Mapping[MyEnum.Val...
I have set my Internet Explorer proxy using the following code.
RegistryKey RegKey = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings", true);
RegKey.SetValue("ProxyServer", "proxyserver");
RegKey.SetValue("ProxyEnable", 1);
RegKey.SetValue("ProxyOverrid...
I have a Windows Form with an image as a background; and I also have a user control which I've added to the form, and renders itself using directx. However, I want the directx UserControl (directx scene) to render partially transparent so that I can see the image background of the form.
I have the source code to the managed directx u...
For one of the classes I have, it's necessary to implement a clone method. So I'm trying to figure out if I need to copy the events of the class by reference or by value.
For example, let say you have the following:
Ball ballOne = new Ball();
ballOne.Bounce += new EventHandler(ballOne_Bounce);
Ball ballTwo = ballOne.Clone();
How sho...
We have a launcher app that does some setup (starting a server), launches a child process, waits (via a worker thread) for the child process to exit, and then does some cleanup (stopping the server). This is already in place and works fine.
However, some of our apps can launch other apps. So for example, the launcher might start app A, ...
In .NET, you can generate RSA key pairs using RSACryptoServiceProvide. But is that the best option in .NET to generate truly random numbers? There are tons of other open source libraries, such as CryptoPlusPlus, that can be used to generate random number. I would like to hear from other experts' opinions. Thanks in advance for your two c...
I don't get how can something as a Set be immutable and still have an acceptable performance.
From what I've read in F# Sets internally use Red Black Trees as their implementation. If each time we want to add something new to a Red Black Tree we have to basically recreate it, how can it have ever good performance? What am I missing her...
What are installers like the installer for Visual Studio made in? How do they make such a nice installation experience? I know InstallShield can emulate this, but does Visual Studio use InstallShield, or did InstallShield copy it?
...
I have a client who is using Siverlight media streaming and wants to start charging for access to certain videos (pay-per-view). Many of those videos with be live-streamed.
I am looking for a solution to restrict the media streams to only the clients who have paid.
As it stands I think each video resource is located at fixed URL - if y...
I want to take advantage of the new features of WPF without breaking users that don't have .Net 3.5. I suppose if it doesn't already exist in .Net I would just need to build a loader exe that loads and executes either the .Net 2.0 or .Net 3.5 version depending on the current environment. Any better ideas?
...
I have a C# VS10 project. I want its part to be pure C. So I will have pure C library and A C# file that will have part with C code calling that pure Lib.
So I'll have C part of code - not precompiled DLL but C code and C# code files. So is it possible to have inside one C# file C code like we have C code inside C++ code?
like Inline C...
I have to query once an hour to a remote web server to recieve data. However the remote web site does not use web services and state in thier 300+ page document that:
Although SOAP is a recognized Web Services API, the RTO web server does not offer a web services
interface. That is, there is no Web Services Description Language (WSDL) ...
I've got a loop that will need to "mark" functions to run later, after the loop is completed. Is that possible to do?
Thanks, Tyler
...
Has any one compiled lib x264 using CLI backend for gcc compiler? (Compiled x264 into .net dll)
...
Hello guys. I've got several web-services: asmx,wcf. At couple of them there are some methods, which take a lot of time for processing, but size of input data for these methods are small and it takes not much time to transfer on the wire. I want move to not sync model. Client passes data to service, service answers that data transfer was...
Hello all,
This is my first post to stackoverflow, so bear with me. :)
I am developing a winforms application that will have an offline mode, so that it can access the data if an internet connection (or more accurately, a connection to my WCF service) cannot be established. I have decided to utilize SQL Server Compact edition on the c...
Hey there,
I have enabled compression of my WCF service by implementing the sample GZip encoder featured on on MSDN and everything is working great, however now need to transfer my reader quotas across to this binding, as I previously had these customised when I was using wsHttpBinding.
This is my GZip binding as declared in my Web.con...