hi therei was studing jquery and modalPopuphttp://jqueryui.com/demos/dialog/#default
but i cannot understand it
if i havve a <asp:button, what can i write for appear a popup?
View Complete Post
i am working on ajax slideshow extender.
can anybody help in coding for
1) implement transformations between slide to slide.
2) and the direction means orientation in changing of slides.
I hope u got my querries.
please help in this regard.
thanks in advance.
Is there a way to make a modal popup panel active on page load so that the user can't do anything until they deal with the popup dialog?
check this link
and how can i implement on aspx page to get value on textbox
I created an application and implemented IHTTPHandler for all incoming request ending with ".aspx" extension.
Under "ProcessRequest" module, I am creating an instance of HttpContext (with URL attributes different from my application's URL i.e. if I am working on localhost then speciying Yahoo.com as its URL) and assigning it to "context" which comes as method argument.
After redirection, an error is generated. Also, the custom HTTPContext is not passed to the requested page (default.aspx, in my case.)
Code is as follows.
Public Sub ProcessRequest(ByVal context As System.Web.HttpContext) Implements System.Web.IHttpHandler.ProcessRequest
Dim requestedUrl As String
Dim targetUrl As String
Dim urlLength As Integer
'Save settings which will be used while redirecting to appropriate page
requestedUrl = context.Request.RawUrl
If requestedUrl.IndexOf("?") >= 0 Then
targetUrl = requestedUrl.Substring(0, requestedUrl.IndexOf("?"))
targetUrl = requestedUrl
If targetUrl = Nothing Or targetUrl.Length = 0 Then
targetUrl = requestedUrl
MSDN Magazine April 2006
One of the most compelling improvements that ASP. NET brought to ASP programming was the Cache object. The Cache has some similarities to the Application object and is a container of global data (as opposed to session-specific data) that features a fair number of innovative characteristics.
MSDN Magazine July 2004
The timestamps that you can obtain from Windows NT are limited to a maximum resolution of 10 or 15 milliseconds, depending on the underlying hardware. At times, such as when you need to timetag frequent events, it is desirable to achieve a higher resolution. For example, what if you want to be able to contact a thread or perform some other task at intervals more frequent than 10 milliseconds? Suggested ways of achieving better resolution include using performance counters in conjunction with the sytem time to calculate smaller time increments. But using performance counters is a technique that presents its own problems. This article shows one possible way of overcoming limitations inherent in this approach.
MSDN Magazine March 2004
Implementing data access functionality is a core activity of most developers working with the .NET Framework, and the data access layers they build are an essential part of their applications. This article outlines five ideas to consider when building a data access layer with Visual Studio .NET and the .NET Framework. The tips include taking advantage of object-oriented techniques and the .NET Framework infrastructure by using base classes, making classes easily inheritable by following guidelines, and carefully examining your needs before deciding on a presentation method and external interface.
MSDN Magazine April 2003
ASP.NET is a flexible and extensible framework for server-side HTTP programming. While most people think of ASP.NET in terms of pages served, there is a lower-level infrastructure sitting beneath this page model. The underlying plumbing is based on a pipeline of app, module, and handler objects. Understanding how this pipeline works is key if you want to get the most out of ASP.NET as an HTTP server platform, while making your process more efficient, and keeping your server secure. This article introduces the architecture of the pipeline and shows how you can use it to add sophisticated functionality to an ASP.NET-based app.
Tim Ewald and Keith Brown
MSDN Magazine September 2002
Because the value of good software planning and design should never be underestimated, it can be beneficial to use one of the many existing design patterns as a foundation for solving some of your toughest architecture problems. This article describes several traditional design patterns including the Observer pattern and the Dispatcher pattern, elaborates on their structures, what they're used for, and how they can help you build a BizTalk-based solution. Following this is a discussion on using the BizTalk Orchestration Designer to build designs and integrate existing business processes.
Christian Thilmany and Todd McKinney
MSDN Magazine October 2001
While most application developers may not need to write a custom host, understanding what is involved provides a great deal of insight into the architecture of the CLR. After covering how the CLR is started and loaded into a process, how to set the available configuration options, and how a host defines application domains, this article explains how to design a custom host. Important concepts include making the right decisions about the application domain boundaries for the host, configuring them correctly, loading and executing user code, and resolving references to assemblies. Setting security policy and unloading application domains as the application shuts down are also explained.
MSDN Magazine March 2001
Predefined error codes returned from HRESULT aren't always much help for debugging COM C++ code. The C++ macros provided with this article produce an XML file listing the error and its context to make debugging easier. This article begins with an overview of error handling in COM, then discusses the COM interfaces used in the macros. It explains how C++ exceptions are caught and converted to COM-compatible error information, how events are logged with the event viewer, and how context is reported in the description string of IErrorInfo. The macros handle logic errors and errors returned by an object or API.
MSDN Magazine October 2000
Like the Internet itself, e-commerce is evolving. Today's e-commerce companies are allowing their customers to plug into existing catalogs and ordering systems, creating new synergistic relationships. Some companies are even adding real-time chat with customer service personnel. This article gives you an overview of some of the new e-commerce concepts and implementations that are helping forge those new relationships with customers, vendors, and shipping companies. The importance of these relationships, as well as the specific technologies used to encourage communication and collaboration are discussed and illustrated with representative code samples.
MSDN Magazine May 2000
how can i perform search in asp.net mvc using linq -to - sql data
context.I had created a dropdownlist which contain Account id and date field search parameter.....what is the linq query for this???...how to pass data from controller to view..???? ..... Here is code for action in search controller
ViewData["XOSearch"] = new SelectList(getSearchOptions(), "Xo Number", " Dispatch Date");
int temp = 1;
TempData["message"] = "search";
if (page == null)
page = temp;
If (ddlReportOption == 1) //Case:searching by Dispatch date
ViewData["Choice"] = 1;
DateTime DispatchDate = DateTime.Parse(fc["DispatchDate"]);
else //Case searching by XoId
ViewData["Choice"] = 2;
long xoNumber = Convert.ToInt64(fc["XoNo"]);
i need a view to implement above.
First post bear with me please:
I have a simple form with a list of linkbuttons, each fires the same onclick event which sets an indicator image. I have a dummy button with style="display:none" which I have set as the TargetControlID of the modal.
onClick event from the imagebutton, the modal is shown via modal.Show(). The cancel button inside the modalpopup fires an event which turns off the indicator image and hides the modal via modal.Hide().
The events fire perfectly, it's very simple! Although after doing some testing I noticed the modalpopup is not presented after the 6-10th cycle of clicking the open event, then clicking cancel. The grey background appears but it is behind the main panel and the modal is either presented behind this or is just simply not displaying.
I spent hours researching various methods, implemented the CancelControlID to see if it was somehow tied to my call of modal.Hide() that fails.
This occurs with an updatepanel only. The behaviour is much cleaner this way, so I would hope to be able to implement this. I have basically eliminated everything but these two events! Please help
I have a document content type and a library which contains this content type. here is what I want to do:
- when user creates a new document in this library, he will enter some user names with people picker and then a message including some columns of the content type will be sent to that users. And then, at a certain
date (lets say 1 day before a date that is one of the site columns) another email, a reminder will be sent.
I havent been able to find :
1- how can I replace a people picker field on workflow initiation form and how can I make it sent email to the user.
2- How can I make it sent a reminder email 1 day before the date that is stored in one of the columns of the content type(current item)
any help would be welcome,