Posts by Pedro Cardoso • 37 points
7 posts
-
0
votes0
answers30
viewsQ: Asp button inside a modal does not Triggering to click Event
If I click the button, he’ll check the textbox , incorrect formats etc , but if the textbox are all validated it does not call the event associated with it any idea ? the boot is inside a form with…
-
-1
votes1
answer65
viewsQ: Replace text from a textbox when the user input the same textbox
I have a textbox where, through another page I pass you an e-mail. txtemail.text = "[email protected]" And when my page makes the load, in that textbox appears: [email protected]. Only if I try to make a…
-
0
votes1
answer57
viewsQ: I have a method in Serverside validaNIF and want to call it through javascript (Clientside) to validate an Asp:textbox when it does Leave
I tried to do through the event ontextchange and call the backend function, only as this is to make a record, whenever it ran the event wipes the data from my other textboxs (it seems to refresh the…
-
0
votes0
answers31
viewsQ: How to databind a texbox without assigning it a value?
I have a txtEmail textbox in a Display() method where I assign you an email (via a query) so that I can display it in a user profile (all ok). txtEmail.Text = item["email"].ToString();//devolve…
-
2
votes1
answer52
viewsQ: I’m trying to make a rollback of my Querys only to give me a mistake in Executescalar
The code works perfectly without the btw rollback. SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["dbconnection"].ConnectionString); con.Open(); SqlTransaction tran =…
-
1
votes1
answer37
viewsQ: How to choose (depending on login) which master page to run?
I wanted something like this (it doesn’t work). "The Masterpagefile property can only be set in or before the 'Page_preinit' event'." foreach (DataRow item in dt.Rows) { if…
-
-1
votes1
answer186
viewsQ: I want to import an entire page with jquery, should I divide the page into different jquerys so that I can write code through the jquerys?
With this jquery I am importing the whole page, but I can’t put html Divs in the middle of the query, only at the end. <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">…