Currently using System.Web.UI.WebControls.FileUpload wrapped in our own control.
We have licenses for Telerik. I wanted to know if anyone had experience with that or could suggest a better one?
Some criteria to be measured by
validation
peformance
multiple files
localisation (browse is difficult)
security
...
I have Application, and i cann't modify it. This Application contain IEControl (WebBrowser control), which display some URLs and open some txt files. How can I get IWebBrowser2 and redirect this control to specified URL? For example i need redirect this control to http://stackoverflow.com every time control trying to open txt file?
...
I would like to extract a bitmap from an html page. I expected to find a IStream, IPersistStream or IPersistStreamInit from the IHTMLImgElement I got in the web page. However I can't found any of those.
I could read the picture from the cache but this is somewhat unreliable and I would like to avoid reading from the filesystem.
Is ther...
Hi,
Can anyone recommend a free color picker web control for asp.net webforms ?
Thanks
...
I use a WebBrowser control in my Winforms application. When I navigate to a Url that causes a JavaScript exception the Just-In-Time (JIT) debugger window shows up asking if you want to debug this exception:
An Unhandled exception ('Object
expected') occured in (application)
This happens (in Release mode) even though I set the Scr...
I've created a web control and I want to pass the element attributes through during the render phase. I would prefer use writer.RenderBeginTag() and RenderEndTag() but this is the only way I can seem to integrate the attributes successfully:
public override void RenderBeginTag(HtmlTextWriter writer)
{
writer.Write("<");
writer.W...
System.Web.UI.WebControls.TreeView shows hierarchical data in an expandable tree view with the possibility to have a checkbox next to each node.
I want something similar, but I need to render a DropDownList at each node, so I can have more than two choices (checked or unchecked).
Is there a way to do this with a TreeView?
Or is there ...
Every sample I've found of doing this consists of writing a function outside of my page's OnLoad in order to do this, but I'm curious if there's a more concise way to go about it. I have a Label inside of a HeaderTemplate, and I just want to set the text of the label to a string. I can do the following if the label is outside the repeate...
Hi All
Involved in a project where one half of the team are building the db and web services layer and we are builing a separate, front end, web service consuming site.
We are building a custom role and membership provider which will operate via the web services layer.
Just doing some early prototyping, setting roles, checking page pe...
How can I hide the header like 'Page 1 of 1' and footer (url) when printing a webcontol in ASP.NET?
I currently doing by opening a new page on Print button click ande in it
protected void Page_Load(object sender, EventArgs e)
{
if( null != Session["Control"] )
{
Control ctrl = ( Control )Session["Control"];
Pri...
I have a compiled class library containing a user control and I'd like to add it to a webpage. I'm adding an object tag to the html page that looks like:
<OBJECT id="Main" classid="http://localhost/HelloWorld/Hello.World.dll#Hello.World.UserControl"></OBJECT>
However, the control isn't being displayed. The DLL makes it to my...
I'm trying to create a custom server control (WebControl) with a text box.
I add asp.net textbox to the custom control in CreateChildControls override. In OnInit override I add event handler to TextBox.TextChanged.
Everything works, except that TextChanged never fires. I looked at viewstate and it looks like my textbox never saves its ...
I'm using WebBrowser control in .NET app. I construct a html text, then set the controls property DocumentText to this html. It works fine on my computer. On some other computers it simply displays the source as a text. I think that it may be connected with some explorer properties but I don't really know why it is behaving like this. Ho...
I would like to extend the ASP.NET DataGrid web control to add lots of additional features but most important of all, I would like to make the body of the grid scrollable.
I have the HTML worked out but overriding the rendering of the control is confusing. The basic structure of final control should look like so:
<div id="grid1" class=...
I am extending TextBox WebControl to work as a sort of "DateTextBox" which exposes it's value as a property (DateValue) in the code-behind:
public sealed class DateTextBox : TextBox
{
public DateTime ?DateValue
{
/* ToDateFromUserInterface() and ToUserInterfaceString() are both
extension methods */
ge...
Hello,
I've just made my first WebControl, but I'm having some troubles.
Here's a sample of what I have so far:
public class NotificationPopup : WebControl
{
public bool? IsAccepted { get; set; }
public void Show()
{
Panel root = new Panel();
Button b1 = new Button();
b1.Text = "Ok";
b1.Cli...
I have a windows application with an embedded web control and I want to enable cross site scripting. Is this possible? From what I've read, IInternetSecurityManager.ProcessUrlAction does not allow this. It also sounds like IInternetSecurityManager.GetSecurityId might be able to solve this issue, however I haven't been able to get it to w...
hi there!
currently i've built a collapseControl which behaves similar to a label (associatedControlID) to control the collapse-state of a control.
following control i'd like to build:
i thought of something like:
put my already build collapsableControl and some other control (eg. panel) together to get a collapsableArea.
first t...
I am working with someone else's code. The code was originally designed so that data would dynamically create controls (and sub-controls of those controls...) on the OnInit event on numerous web control panels. And then later validation methods would check those dynamically created controls for valid data. This continues to work just fin...
Hi All,
I use a WebServerControl "CheckBoxCounter", which has the following method. But the method is unable to find the CheckBoxList on the page. I'm searching for an answer for nearly a day now... can you help me... The WebServerControl is in a namespace "AWT.AID.Services", but there is no namespace for the ASPX page / code Behind,...