Haha.... Perfect Answer!
John C Rayan
Posts
-
Java -
How to write the handler for buttons using JQUERYIf you want to use button in place of link , then you have to use id of the button and use .click handler. For instance, you have a button like this
Next
then your click handler could be $('#btnNext').click (.....
-
Regarding querystringIf you look at the Request object in your method (Of course it is a web application) , you will be able to see the QueryString property there and you can retrieve the values from it.
-
Html helper in c# mvc appWhat do you want to do with the variable ? It can be part of the model. Post a sample code for what you are trying to do.
-
How to save HTML Table to databaseYou are not clearly explaining yourself. What is your issue?
-
Should a REST API return exception in response body?WEB API should return status code in the header and any content in the body. For example, if the request is successful then set the status code to 200 in the header and send the result in the body. If the request is failed , then set the corresponding status code in the header ( for example 500 etc...) and send additional information in the body.
-
trouble sending message to the view from controllerThe difference between the Ajax and Submitting the form is that in Ajax , it is Async call and it does not reload your view. The ajax call receives the response from your action (URL) and does the update with the controls in the view based on your code. Whereas in form submission , the action is called with post data and the view is reloaded again with action response. So you have to check how you update the response message in your view based on these two different behaviours. Hope this helps
-
why we use datareaderYour question is not very clear. Are you asking why we use datareader. The following link might be a good read for you DataSet vs. DataReader[^]
-
trouble sending message to the view from controllerI meant the
"UploadFiles"
where he is redirecting to.
-
trouble sending message to the view from controllerCan you show us the code for
return RedirectToAction("UploadFiles");
? Are you able to see the Session['msg'] in there before View.
-
trouble sending message to the view from controllerIn MVC , ViewBag , ViewData and TempDate are preferred than Session. In your case , try TempData.
-
How can i effectively write the code for calling a function before and after execution of every function in a class.There are many ways to do this. However it depends how good your design and coding technique.
-
Text in a Div is pushing icon to the next line. How do I stop this?Thanks for the update!
-
notification text click eventWhich C# code are you referring to ? Don't assume that we are taking orders here.
-
How to Transfer xml file from remote server to anotherCan you provide us with more details? What have you tried so far ? Post your code here. When you say different network , how do you connect to the network? Do you have permission to connect to the network? ( Credentials etc).
-
Text in a Div is pushing icon to the next line. How do I stop this?Which table item are you referring to ? I can't see any text in your table item.
-
Problem with installing oracle databaseI believe that you are installing the software as an Administrator. Right?
-
Problem with installing oracle databaseCan you elaborate on this one
I created the oracle account and started installing the database, there were few steps prompted to me before installing the database, I've chosen the default settings and moved on
-
DropDownListWhat you are trying to do is not a good practice. Why do you want to change the dropdown list after user selected it. Are you making things harder while there might an easier solution for you actually need ???
-
Develop a Module in ASP.NETThis is not a technical question as it sounds. What are you expecting from here?