|
in the java script code u can see every function returns a specific value
i want to retrieve these values when the button is clicked
|
|
|
|
|
If you applied jQuery UI dialog, you should use its events.
For close event read here: http://api.jqueryui.com/dialog/#event-close[^]
I'm not questioning your powers of observation; I'm merely remarking upon the paradox of asking a masked man who he is. (V)
|
|
|
|
|
hai..
how to give two or more .aspx pages to one response.Redirect() method
|
|
|
|
|
While you should do that?
Client can only display one page for the current connection, so even you were able to do so (and you don't), client will not see both...
Try to describe your problem we may have a suggestion for you...
|
|
|
|
|
It is not possible to pass two pages to one single response.redirect. Can you describe what is needed to be done
|
|
|
|
|
Hi,
a report like data that shows OrderId, ProductCode, Qty, UnitCost, Total, an Order may contain several products at the same time. Now I should disply Order Id on top under that ProductCode, Qty, UnitCost, Total information, the total for the order under the totals section. In the end of the page I have to display Grand Totals. just like report, this is the requirement. The challenge here is Order Id should not be repeated, it should come once on top then under that all its items, and then Under that Total Qty and Total Amount. At the end of the page grand totals which we can use Html table to display that.
But challenge is Order Id under that ProductCode, Qty, UnitCost, Total and under that totals related to the order Id.
Can anybody please suggest me which Web control in ASP.Net I can use to display this type of UI? Any like or any suggestion is greatly helpful. Its an urgent need.
Thanks in advance for the help.
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
|
|
|
|
|
what happened I don't know no body is replying me, can anybody please give me some advice or some thing. Or should I drop it off completely.
Thanks & Regards,
Abdul Aleem Mohammad
St Louis MO - USA
|
|
|
|
|
You have posted this question on ....
17. Friday. Most people were ready to leave office early.
18 & 19 - for weekend celebration.
20 - (Monday) is busy day for most of us.
21 - We missed your question because of new questions.
22 - We just noticed your question.
thatrajaCode converters | Education Needed
No thanks, I am all stocked up. - Luc Pattyn
When you're wrestling a gorilla, you don't stop when you're tired, you stop when the gorilla is - Henry Minute
|
|
|
|
|
|
I am trying to incorporate a ViewModel as I am using edmx file to define my db, but my view only works with the edmx model and sends an unexpected result when I use my ViewModel.
My ViewModel is;
public class GetQuestionViewModel
{
public class Question {
public Question Questions { get; set; }
public Response Response { get; set; }
}
public GetQuestionViewModel()
{
this.QuestionOptions = new HashSet<QuestionOption>();
this.Responses = new HashSet<Response>();
}
[Key]
public int Id { get; set; }
public int PageNumber { get; set; }
public string Question1 { get; set; }
public int QuestionTypeId { get; set; }
public Nullable<int> LinkedTo { get; set; }
public Nullable<int> Options { get; set; }
public Nullable<int> QuestionRanking { get; set; }
public virtual ICollection<QuestionOption> QuestionOptions { get; set; }
public virtual QuestionType QuestionType { get; set; }
public virtual ICollection<Response> Responses { get; set; }
}
And my Action is;
[HttpGet]
public ActionResult ViewQuestion(int? id)
{
if (id == null || id == 0 || id > 13)
{
id = 8;
}
Question question = db.Questions.Find(id);
if (question == null)
{
return HttpNotFound();
}
return View(question);
}
I tried changing the
Question question = db.Questions.Find(id); to
var question = db.Questions.Find(id);
but nothing I have tried works. I want to get the ViewModel working before I build the query;
Question questions = (from q in db.Questions
from qo in q.QuestionOptions.DefaultIfEmpty()
from r in q.Responses.DefaultIfEmpty()
where q.PageNumber == page && r.UserId == userId
select new Question
{
Id = q.Id,
QuestionType = q.QuestionType,
Question1 = q.Question1
}
This is my first MVC project and I am really struggling although I have followed several online tutorials. I would be grateful for any help.
|
|
|
|
|
|
im using datalist control to display the data long with image, address and button.im using label control to display the data in datalist. if i click on more button in datalist control the page must be redirected to that particular page. But i could not do this.how to redirect when i click on button in datalist to that page ?
|
|
|
|
|
which technology give more scope in future in prospect of learning
|
|
|
|
|
All of them. You are asking us to foretell the future, and even the industry experts don't always get it right.
Veni, vidi, abiit domum
|
|
|
|
|
As a part of project I need to present a 3D scatter plot in a web page based on the 3 columns data from a table from database. Is there a way to draw a 3d scatter plot in ASP.Net.
|
|
|
|
|
|
Good day everybody. I'm designing a chat with asp.net, and everything is working except one.
I want to retrieve the newest 15 records then delete the old ones. I used count to get the number of records in my table then specify that if count is equal to 20, then, I used sql Top statement to delete the Top 5 messages. But I found that sql server sort whatever is inserted in alphabetical order. And this technique delete both the newest messages. Please, some should tell me how to achieve this. Thanks in advance.
|
|
|
|
|
You need to sort the messages into the correct order first. Use the SQL ORDER BY clause[^].
Veni, vidi, abiit domum
|
|
|
|
|
Goodmorning to everyone!
I've putted this xml file into mediafire hosting. Here its link:
LINK MEDIAFIRE FILE.XML
And there is my stupid code:
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Xml.Linq;
namespace ProvaParsingXml
{
class Program
{
static void Main(string[] args)
{
string str = @"C:\Users\c.capannini\Desktop\file.xml";
XDocument xml = XDocument.Load(str);
var hosts = from h in xml.Descendants("address")
select new
{
addr = h.Attribute("addr").Value,
addrtype = h.Attribute("addrtype").Value,
};
foreach (var host in hosts)
{
if (host.addrtype == "ipv4" || host.addrtype == "ipv6")
{
Console.WriteLine("Host : " + host.addr.ToString());
var ports = xml.Descendants("port");
foreach (var port in ports)
{
Console.WriteLine("Port = " + port.Attribute("portid").Value.ToString());
var script = port.Element("script");
if (script != null)
{
var pem = script.Descendants("elem").FirstOrDefault(n => n.Attribute("key").Value == "pem");
string pemm = pem.ToString();
pemm = pemm.Replace("<elem key=\"pem\">", "");
pemm = pemm.Replace("</elem>", "");
Console.WriteLine("PEM = " + pemm);
break;
}
}
}
}
Console.ReadLine();
}
}
}
Why don't the port and pemm string not change? How can i get for each host their ports and for each port the string value inside tag <elem key="pem"> ?
How can i do it?
Please help me. I'm going crazy!!!
Thanks!
|
|
|
|
|
An XML comment in the file says that it was generated ny nmap. Hence I'd suggest to look at the nmpa documentation for an XML Schema Definition file (xsd). You can create corresponding classes from the xsd automatically.
|
|
|
|
|
Hello friends, please I need your advice on this. I'm designing a site where students can pay their school fees online. I have a page where students can enter their bank details then submit for confirmation. Now, the challenge is how can I verify if the bank details are existing, then, if the details exist, the school fee amount should be deducted from his/her acount then transfer the money to the schools' account? Please give any ideal. Thanks for your help so far because without your help, I wouldn't have reached this stage in programming. I'm using asp.net
|
|
|
|
|
This is called a payment gateway or payment processing. You need to sign up with one and integrate its API to process payments. Search Google for "asp.net payment gateway".
Edit:
Also, unless you want to be financially responsible for any breach of data that happens with your students bank details, I would avoid storing these details on your own system, use a gateway that allows storage of these on their site like PayPal so you aren't held responsible for it. Even big companies make mistakes (look up Target data breach), so avoid it at all costs.
|
|
|
|
|
Thanks Ron. I will use the method suggested by you.
|
|
|
|
|
But, when I have signed up with this paypal stuff, how will the processing take place? Do I have to provide the school's account to the paypal site?
|
|
|
|
|
Paypal has a help page that gives all that information, but in short, yes, you have to associate a real bank account with the paypal account in order for you to transfer funds.
|
|
|
|