So I have a number of user control dynamically added to a page, and user interaction with these dynamically added user controls need to be handled by the control's parent.
Is this what is referred to as "event bubbling"?
How do I do that in VB?
Thanks in advance.
...
Hi,
What would the best possible way to convert a html page (with css, tables, images etc.) to be converted to word or rtf format. I already know about adding the
content-type = application/word
header and that's not an option because we need the images embedded in the document so that it can be viewed without an active internet con...
I am trying to stress test an ASP.Net MVC application using the WCAT tool. I get results when the WCAT client and controller are on the web server(localhost), but when I move the WCAT client to another machine, I get "404 Not found" errors. It seems that the WCAT client cannot make the http requests from the client machine even though if...
Hi Everyone !
I've a question about dynamically loaded controls and events in these controls ( button click in my case :)
Here is what i got one RadPanelBar a Button and hidden input:
<telerik:RadPanelBar ID="languagesPanelBar" runat="server">
</telerik:RadPanelBar>
<asp:Button ID="Button1" ru...
Hello,
Having an issue with ASP.NET, when trying to set a cookie on subdomain1.mydomain.com to be read by subdomain2.mydomain.com.
"subdomain1" is an ASP.NET application running on IIS 6.
"subdomain2" is an ASP Classic application running on IIS6.
What I don't understand is that when I test my .NET page (below) in Firefox, it works. ...
Hi All,
I am learning AJAX, and so I wanted to know what are the most commonly used asp.net ajax controls.
EDIT:
Other than Update Panel, Scriptmanager, Timer.
...
Hi,
I created a control that uses an ITemplate internally in order to allow the user to add its own stuff.
<my:MyControl id="myControl" runat="server">
<Content>
//some stuff in here
</Content>
</my:MyControl>
The "Content" property is the template. (This is just simplified. This construct is within a larger control).
...
I have to come up with a solution to compress, version (for caching purposes) and potentially combine our JS and CSS files and I've seen two dominant approaches so far:
1) At build time: As an MSBuild task or similar.
2) Dynamically at run time: As a custom HTTPHandler (we are ASP.NET btw) for .js and .css files, with something like thi...
I wanted to develop a Web Service in .NET and wanted this Web Service to be consumable in Java. What are the steps I need to follow. I have written couple of web service but client for all was .Net. Please let me know the Steps that I should follow.
Also My web Service is going to take a Binary File as the Input, please let me know how...
Hi,
I am trying to get an ASP.net 3.5 site to run on a windows 2000 machine (not my idea!!!) but am having some problems. I have been working through copying required dlls from C:\Program Files\Reference Assemblies\Microsoft\Framework\v3.5 into my app bin directory. This succesfully got me past the "assembly not found" errors.
However, ...
Has any one got any advice or resources for best practices for handling errors and exceptions from within a webservice.
ie.
How much information needs to be reported back to the client?
Should ALL errors bubble their way back as full blown exceptions?
Is it common/advisable to wrap responses within a class which contains any error infor...
Just as the title asks, when should a trigger in your head go off signifying "Aha! I should use the factory pattern here!"? I find these moments will occur with many other design patterns, but never do I stop myself and think about this pattern.
...
Consider the following route:
routes.MapRoute(
"Service", // Route name
"service/", // URL with parameters
new {controller = "CustomerService", action = "Index"} // Parameter defaults
);
Using Url.Action("Service", "CustomerService") produces an url of /service instead of the expected /service/
Is ...
I have a result like this from a sql query
Month Day Customer Item
------------------------------------------
January 1 John Pencil
January 1 Jack ---
January 1 Steve Stapler
January 2 John ---
January 2 Jack ---
January 2 Steve VisitingCard
January 3 John...
Hi, I have a function with a List return type. I'm using this in a JSON-enabled WebService like:
[WebMethod(EnableSession = true)]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public List<Product> GetProducts(string dummy) /* without a parameter, it will not go through */
{
return new x.GetProducts();
...
I've set up a test database to begin unit-testing an app that I've recently been added to. It is a 3-tier design (presentation layer, BOL and DAL) and this is my first time writing unit tests.
I've decided to start at the BOL and I figure the best way is to swap out the ConnectionString (which has been passed along as a Shared String...
Hi,
I am developing a asp.net 2.0 application. i want to access friends list from opensocial.net dll.So how to do it?
Waiting for your response.
Thanks.
...
The Search Core Results SharePoint web part uses XSLT 1.0 to transform search results for display. I would like to manipulate some of the result text using regular expressions. Alas, XSLT 2.0 (containing regular expression support) is not available and Microsoft don't currently plan to implement it!
One thought was to override the web p...
I want to use custom extension on my web site.
I mean, I do not want to use "default.aspx", i want to use "default.customext"
How could i do this in web.config or anywhere else?
ps: I have no chance to change the asp.net configuration on IIS
I am using .NET Framework 3.5, Visual Studio 2008 sp1, and target Server is IIS 7
thank you
...
i filled my gridView . Also give property sorting. but i need up down image sorting in progress. Click descending cssclass="sortdescheader". But i can not do that. How can i makie it? İ really used below codes. Please help me with below codes?
protected void gvProducts_RowDataBound(object sender, GridViewRowEventArgs e)
{
G...