|
I have datatable and I want to create chart based on 3 values.
|
|
|
|
|
|
I want to be like this...
https://imagebin.ca/v/2wMnsVdMBeG6
the above pic will show you the data and chart that I wanted. But I want the month without duplicated.
|
|
|
|
|
So do you have an actual programming question?
|
|
|
|
|
I have some other but I can't share it it's has secret data, But it similar to previse pic.
|
|
|
|
|
|
Question
how I can do like the image in asp c#? I have duplicate month and name
https://imagebin.ca/v/2wMnsVdMBeG6
|
|
|
|
|
26s1124 wrote: Question
how I can do like the image in asp c#? I have duplicate month and name
Answer: Since you haven't specified which charting control you require, then I'd suggest you to look at Hichart[^] to build dynamic and responsive charts. Head over to their official website, check out the demos and do three things: READ, APPLY and LEARN.
Don't expect someone from here to write the whole code for you. If you are asking for it, then this isn't the right place to ask. You may need to find a freelancer folk to do the work for you, and of course you have to pay them.
|
|
|
|
|
|
please tell me what is sub domain ?
each sub domain contains a separate project ?
in what kind of scenario people go or sub domain ?
how sub domain is configured in IIS ?
tbhattacharjee
|
|
|
|
|
|
You can host multiple websites/apps with single domain. Subdomains are mostly used by internal users for a particular business / customer.
For example , if you build a application for a customer www.business.com then you can create many flavours of the same application for testing , UAT , Staging before going to live like
uat.business.com
staging.business.com etc..
Hope this make sense.
|
|
|
|
|
sub domain is possible when two application running in two different pc of different web site hosting company?
tbhattacharjee
|
|
|
|
|
Have a look at following links, see if they help you:
http://stackoverflow.com/questions/4333380/how-to-create-subdomain-in-iis6
|
|
|
|
|
The exact same web application is deployed on our IIS 8.5 server and runs correctly.
Here is what is on my .aspx page ....
<video id="embed1" runat="server" width="1280" height="720" autoplay="autoplay" controls="controls" />
This is what is in my code behind ...
embed1.Attributes("src") = "Videos\" & sVideoName
embed1.Attributes("type") = "video/mp4"
I set the source and type of the HTML5 player in the code behind because the video name is passed as a query string parameter.
On the IIS 7.5 server, I have added the MIME type, ".mp4 video/mp4" and the Windows 2008 R2 server has the "Desktop Experience" feature installed.
What am I missing to get this to work on my IIS 7.5 server ?
BTW: I am using IE 11.
|
|
|
|
|
If you request the video file directly within the browser, rather than loading your aspx page, do you get the video, or do you get an error?
If you get an error, then try opening the video file in a browser running on the server. IIS should give you a much more detailed error message for a local request.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
I've made a new .aspx page with no code behind and discovered the following:
1) If I move the .MP4 file to the root of the website and reference it like this ...
<video id="embed1" runat="server" width="1280" height="720" autoplay="autoplay" controls="controls" >
<source src="QA.mp4" type="video/mp4" />
</video>
The video plays correctly.
However, if I mode the video to a subfolder on the website (/Videos) and reference it like this ...
<video id="embed1" runat="server" width="1280" height="720" autoplay="autoplay" controls="controls" >
<source src="Videos/QA.mp4" type="video/mp4" />
</video>
The video does not play.
It must be the syntax of the "src" attribute, but what is the correct syntax ? 
|
|
|
|
|
Try /Videos/QA.mp4. Assuming videos is at the root.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Tried that.
The error message I get is: "Unsupported video type or invalid file path"
The weird thing is that if I reference the video from the root, everything works fine.
Ugh.
I'm considering deploying the website with the videos stored at the root and just move on.
|
|
|
|
|
Try
MIME type, ".mp4 video/mpeg"
|
|
|
|
|
i am using asp.net MVC and identity to authenticate user. i saw after successfully authenticate
Request.IsAuthenticated return false
this is sample login code which i debug and saw it is working fine.
[HttpPost]
[AllowAnonymous]
[ValidateAntiForgeryToken]
public async Task<ActionResult> Login(LoginViewModel model, string returnUrl)
{
if (!ModelState.IsValid)
{
return View(model);
}
var result = await SignInManager.PasswordSignInAsync(model.Email, model.Password, model.RememberMe, shouldLockout: false);
switch (result)
{
case SignInStatus.Success:
return RedirectToLocal(returnUrl);
case SignInStatus.LockedOut:
return View("Lockout");
case SignInStatus.RequiresVerification:
return RedirectToAction("SendCode", new { ReturnUrl = returnUrl, RememberMe = model.RememberMe });
case SignInStatus.Failure:
default:
ModelState.AddModelError("", "Invalid login attempt.");
return View(model);
}
}
after successfully login page redirect to home index action where i am showing user information in index view like below way but controls never come there because of Request.IsAuthenticated return false
<div class="row">
<div class="col-md-12">
@{
if (Request.IsAuthenticated)
{
var manager = new UserManager<ApplicationUser>(new UserStore<ApplicationUser>(new ApplicationDbContext()));
var currentUser = manager.FindById(User.Identity.GetUserId());
<p>@currentUser.UserName</p>
<p>@currentUser.BirthDate</p>
}
else
{
<p>not authenticated</p>
}
}
</div>
</div>
just do not understand what i am missing for which request authenticate method always returning false. please help me to fix it. thanks
tbhattacharjee
|
|
|
|
|
I too have the same issue, can anyone provide more details on this issue?
Thanks,
Ramkumar K
|
|
|
|
|
In a vb.net 2010 web form application that I made some changes to, I have a question about the build (compile) options. In the application that I am working on, there are the build options of development, test, and production.
My question is determining the build options between test compile and production (release) compile.
This is due to the fact, I added a JavaScript alert message to the application when the user is entering some data incorrectly. Basically when I ran the test on my workstation using the default web server in visual studio, everything ran correctly. However when I moved the code to a test application server the web deploy did not work correctly. I found out the problem was due to the java script alert message that I commented out.
I know the problem is somehow related to not having the app not knowing where the javascript tag files were located at. All I did was add an empty line before the first line in the master page where tags are located at and the app works.
However when code is moved to production, I am concerned having the same problem on the production server.
Thus would you tell me and/or point me to references that will:
1. Show me the build options between test and production (release) mode? Also some references that will tell me how to setup the various build options?
2 Would you have any explanation of why the javascript alert message now works in test my just removing a blank line around. I tried a line where the javascript tag pointed directly to the root and not a relative position when the app was running. I then removed the line and the code is working.
|
|
|
|
|
1. I never use the build options. I suggest leave them alone unless you need something specific.
2. I cannot see your code so no, I have no idea what the issue was other than you mention paths pointing to root so you probably do not have the same path structure on the production server.
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Hello i am a beginner of bootstrap with Asp.Net Core.
I play along with a simple sample: "Alert"
I have this (in a .cshtml file):
<bs-alert title="Test-Title">Test-Message</bs-alert>
And I have that(in a .cshtml file):
<div class="alert alert-warning alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
Warning! Better check yourself, you're not looking too good.
</div>
It looks different!
When i use Visual Studio 2015 insert snippet (Bootstrap) then the things with the div button span ... are inserted.
For what are the "bs-xxx" tags? I googled an hour and did find nothing. Thanks in advance.
|
|
|
|