Questions tagged [asp.net-customcontrol]

37 questions
1
vote
1 answer

Custom control's jquery loads before masterpage loads jQuery

I'm creating a custom control which utilizes the jQuery.UI autocomplete function. My application has a standard Webform Masterpage which includes a ScriptManager tag. I am embedding a javascript file which has the following…
1
vote
1 answer

Get click event from linkbutton in compositecontrol in Web Forms

I have created a composite control which houses a number of tiles (which are also custom controls). In my web page I want to catch the click-event of a tile, but I can't figure out how. This is the TileButton: (the components can be designed…
PinoTom
  • 11
  • 2
1
vote
2 answers

How To Setup a Controls Library for a DNN Site

I've seen many post (for example, see https://stackoverflow.com/a/7363860/1378356) which state that ASP.NET User Controls (.ascx) were not intended to be used across different projects/assemblies. Rather, the right way would be to create a…
1
vote
1 answer

.NET Custom Control with a Wizard

I'm developing a .NET Control and there's a need to add a Wizard to Configure its options. example: SQL Configuration Wizard of SQL Control in Visual Studio a.k.a. Data Source Configuration Wizard. How can I make one like that? Where to start? Edit:…
1
vote
1 answer

Get Selected Text asp.net custom server control

I need to get the latest text set in the custom control by javascript. When i tried to get the selected text from server control, it is always returning the default text & not the modified text. How to retain the latest value set by the javascript…
0
votes
2 answers

ASP.NET WebCustomControl event OnClick()

I'd like to add OnClick action to my button (buttonSearch) in WebCustomControl. Please help me because Event isn't running. I tried a search in google but I did not find anything :( PS. Sorry for my English :) Thank you very much :) namespace…
kobi55
  • 93
  • 2
  • 10
0
votes
2 answers

getelementbyid in external js not working for a asp.net-customcontrol

have a custom control with a button. There is an external javascript file that tries to attach some events to my control. Like onclick event is added at runtime to the button. To do so I use var save = document.getElementById("btnExecute"); …
Sri Reddy
  • 6,832
  • 20
  • 70
  • 112
0
votes
0 answers

how to create a composite control with range validator in asp.net

I want to create a composite custom control with range validation. that may be integer or date. Unable to assign MinimumValue and MaximumValue as the properties. Can anyone help me. My code may not be correct but please suggest me a solution: - Am…
Abdul Haq
  • 1
  • 2
0
votes
1 answer

Collections Editor is not persisting entries in custom web control markup in design view in VS 2013?

I am trying to develop a simple custom web control for ASP.Net WebForms that has a collections property called Subscriptions. I can compile the control project successfully and add it from toolbox to an aspx page without any issues. The problem is…
Sunil
  • 20,653
  • 28
  • 112
  • 197
0
votes
1 answer

Asp.net Custom Table Cell ClientID not set

I have a class derived from WebControls.TableCell. When the Text property is set, I call a method that dynamically adds asp:Panels and asp:LiteralControls to the Cell. I want to reference these controls in Javascript, so naturally I tried using the…
Cleo
  • 620
  • 2
  • 10
  • 32
0
votes
4 answers

Change look of TextBox control

Is there a way I can change the appearance of a TextBox from its default look to look like this I searched for creating a custom TextBox but didnt see anything about changing how it looked. I have the have the image in a PSD i just didnt know if…
tyczj
  • 71,600
  • 54
  • 194
  • 296
0
votes
1 answer

access property of asp.net custom control from code behinde

I create a asp.net custom control <%@ Control Language="C#" AutoEventWireup="true" CodeBehind="control.ascx.cs" Inherits="test.control.control" %> I have drop it in an aspx page and I want…
danarj
  • 1,798
  • 7
  • 26
  • 54
0
votes
1 answer

Delegate: Specifying Method (or its name) in Custom Server Control, to be called

I am working on a ASP.net custom server control, with jquery, WCF and stuff. I want to give the developer, using it, the flexibility of specifying an on success function (to be called when a task is successfully done by the control) in one of the…
0
votes
1 answer

Buttons on click event, inside an update panel, rendered through a custom server control not firing

I am developing a custom control which renders (a) textbox(es), in its textchange event I want to asynchronously send the value to the control where it would search and make the data available in an exposed property to be fetched later on page load.…
Taha Rehman Siddiqui
  • 2,441
  • 5
  • 32
  • 58
0
votes
0 answers

ASP Custom Server Control data flow

I have to build a custom control where I will render a textbox where I am supposed to take input, and on textbox change event I will have to keep a list of objects that satisfy that search string I took from the input, which should be exposed to be…
Taha Rehman Siddiqui
  • 2,441
  • 5
  • 32
  • 58