Questions tagged [aspx-user-control]

94 questions
0
votes
0 answers

ASP DateTimeControl with months and years only

In Windows you can display the Calendar in (MMMM yyyy) format. I would like my to do the same. I found the DateOnly property to remove the hour/min/sec from the Date, but how can I make this control pick only months in the…
Ythio Csi
  • 379
  • 2
  • 14
0
votes
0 answers

Override GetType Method on ascx usercontrol

I want to override Gettype method on ascx usercontroll, to returna specific type to able compare with TypeOf. My Current Aproach is on my usercontroll add a property and : Private Property Type As App.Controls.DropdownCustom Public Shadows…
danywalls
  • 709
  • 1
  • 10
  • 27
0
votes
2 answers

How can I add a code-behind file to an aspx page?

There are two pages in a legacy app to which I'm addding fuctionality. One of the .aspx files, when the "Design" view is shown, sports an Events tab in the Properties pane: The other, though, does not - it only shows Properties: I need to add a…
B. Clay Shannon-B. Crow Raven
  • 8,547
  • 144
  • 472
  • 862
0
votes
1 answer

How do i establish client server communication using TCP/IP protocol in .NET web application

I have example code based on windows form application in .NET but I want to implement same code in web application.I can use same methods and classes in web app but there is one method (backgroundworker) which is not working in web application.I…
R.zeiwald
  • 236
  • 1
  • 5
  • 19
0
votes
1 answer

Properties of Webusercontrols

I have a question and I can not find the right terms to do a reasoned search and solve the question. Let's see, when I'm creating a page, at some point I need to create a WebUserControl and defer something like state = "true" (like the text of the…
pmmivv
  • 1
  • 1
0
votes
0 answers

Trigger for tabcontainer asp.net webform

I have a ajax tabcontainer (web-forms not MVC) with different tabs and i have a radio-button list on one of them and when I click on it a value on a different tab needs to change. Whats the best approach for a trigger here?
0
votes
1 answer

if statement in aspx page

attempting to set a radio button on a grid view via a condition.
Bryan Dellinger
  • 4,724
  • 7
  • 33
  • 79
0
votes
3 answers

How to redirect between different .aspx pages using angularjs?

I have two different aspx pages which operate using AngularJS. One page is to add a post and on clicking save, I want to redirect to the detailpage.aspx. Can this be done using AngularJS?
0
votes
2 answers

Dynamically sum the values of labels once they all have values

I have a series of asp Radiobuttons which are populating the values of labels fine, but now using a jQuery check, if all of the labels have values then I want to dynamically sum the values. What code/function would achieve this, using the…
stonypaul
  • 667
  • 1
  • 8
  • 20
0
votes
1 answer

convert HTML controls to ASP server controls

I have a bunch of HTML controls created in a design. Now I want to convert them to ASP server controls. Can someone suggest me how to do this? Is it just enough to add runat attribute?
Akansha
  • 199
  • 2
  • 11
0
votes
2 answers

Dynamically add
  • from database parameters in aspx without code behind
  • We are trying to create a playlist of video from a database. We want to get the path of a video from the database and want to pass it to a li tag but We don't know how to do it with or without code-behind technique We just want to add dynamic…
    Hardik Patil
    • 97
    • 1
    • 8
    0
    votes
    1 answer

    Is it possible to populate same user control with different data on aspx?

    I am looking for this over the internet but I am not getting any suitable answers. Here is my problem: I have a web user control which has the following three controls
    Rebecca
    • 159
    • 1
    • 4
    • 13
    0
    votes
    1 answer

    ASP RegularExpressionValidator with server tags

    Is there any possibility to use server tags with RegularExpressionValidator e.g
    Obaid Ahmed
    • 596
    • 1
    • 3
    • 16
    0
    votes
    0 answers

    ASP.NET C# Web User Control not being recognised. "The name 'ControlName' does not exist in the current context"

    The lines where the Control is referenced by TodayIs1 in the .aspx.cs file are throwing the error ; "The name 'TodayIs1' does not exist in the current context". I have tried a number of suggestions made in previous questions similar to mine. Any…
    0
    votes
    1 answer

    CheckBoxList Placement

    I have two CheckBoxLists on my webpage. I have tried to center them on the page. Nothing so far has worked. I wanted to know if it has to do with the table that is created on databind and if I have to somehow add attributes to that instead of…
    Alwelder
    • 1
    • 2