Questions tagged as 'asp.net'

1
answer

Problem with route routing asp.net mvc

I have the following route, where I get the delegate id: link So it's working, but I'd like to show the name of the rep link / Index / JsBlaBla In my MapRoute I'm doing so unsuccessfully public static void RegisterRoutes(Ro...
asked by 10.11.2016 / 17:22
0
answers

LogOff ASP NET / HTTPS CAUSE SECURITY ERROR

Hello,Ihaveanaspnetapplication,whichmakesuseofhttpssecurity,howeveratthetimeofloggingititcausesanerrormessage,hasanyonehaditalready?     
asked by 09.11.2016 / 11:25
1
answer

Error to leave application with Windows authentication

I'm trying to leave an application with Windows authentication. However when I change the settings in IIS with anonymous authentication disabled as shown below: I have the following error:    [MessageSecurityException: The HTTP request is...
asked by 08.11.2016 / 18:31
0
answers

Duplicate image error in the save!

My function that saves the images in the folder works correctly, but when I open the folder of the photos the images appear duplicate but with different names Here's the save function: protected void btnSalvarImovel_Click(object sender, Eve...
asked by 19.10.2016 / 03:23
1
answer

Exception when adding usercontrol more than once

Hello. I have a newsletter user control and it is added in several places within the project, for each page it is called, a property is set to insert the email into a certain group of emails (% with%). It turns out that now beyond the internal p...
asked by 25.11.2016 / 13:29
2
answers

Problem with regular expression in asp.net with angularJS (1)

On this site, I got this regex : @"^\(?\d{2}\)?[\s-]?[\s9]?\d{4}-?\d{4}$" Then I tried to adapt to my reality, my rule being: Only accept digit (number) in the input. I'm not that stuff with regex , I have trouble with it. I did...
asked by 07.10.2016 / 18:01
0
answers

Save multiple photos in the SQL database in the same ID

I'm having trouble saving multiple photos in a single id This is the cs of the page that makes the registration protected void btnSalvarImovel_Click(object sender, EventArgs e) { try { var cmd = new SqlCommand("...
asked by 05.10.2016 / 02:25
0
answers

Create Partial for Table [closed]

I'd like to create a partial (to be called as @Html.Partial) by getting the id of the table and a collection of the data. But it would have to be totally independent. The part of C #, with reflection, I can make a good one, but I do not know how...
asked by 22.11.2016 / 22:37
0
answers

Button click event, added dynamically, does not work

I'm working on a page that loads a list of items into a GridView . Content is loading normally, but there was a need to add a cell with text and two buttons. With the code below you are adding the elements, however the click...
asked by 14.09.2016 / 21:08
0
answers

Menu drop inside frame over another frame

Hello, how do I make my menu inside one frame go over another frame? I have the following html: <frameset rows="150,*" frameborder="no" border="0" framespacing="0"> <frame name="menu" src="Menu.aspx" noresize scrolling="no" />...
asked by 01.09.2016 / 16:08