|
Hello ,
I can not understand what is the benefit of MVC Ninject ?
Can any declare what is the problem if i don't use Ninject and what it solve to me in MVC with sample in article coz i search in Google and i couldn't reach to any useful link.
thanks in advance
|
|
|
|
|
I am trying to implement a calendar popup from a text box.
I used the following plug in ..
http://jqueryui.com/demos/datepicker/#icon-trigger
I have copy pasted the code in the "view source" button in the above link to my webpage.
I can see the textbox, but i cannot see the calender image on the side of text box which is click-able and a popup of calendar because there is no button to click.. why so?
Do i need to download css files ? and add it to my web solution?
|
|
|
|
|
Did you download the UI Core component?
|
|
|
|
|
|
In the options of the datepicker, you have something called as buttonImage. Are you having the respective image in the path, in your application?
$(function() {
$( "#datepicker" ).datepicker({
showOn: "button",
buttonImage: "images/calendar.gif",
buttonImageOnly: true
});
});
|
|
|
|
|
What the heck is this?
<add name="NotificationsConnectionString" connectionString="$(ReplacableToken_NotificationsConnectionString-Web.config Connection String_0)" providerName="System.Data.SqlClient"/>
Never saaw that before. No idea why it decided to replace my perfectly workable connection string with something that didn't work.
Any idea what I did to screw it up? I've got no replaceable tokens except for the ones we got at Chuck E. Cheese the other night.
VS2010, C#, ASP.Net
|
|
|
|
|
|
Thanks.
That's ridiculous. It may be all gee whiz cool in their minds, but the deployment replace diddly, so their brilliant thought that it would prevent pointing to the wrong database wasn't quite so brilliant.
Well, I guess pointing to no database whatsoever is kinda sorta prventing the wrong one being used...
|
|
|
|
|
Hi,
In my web application(ASP.NET 3.5),I want to remotely access the MS Exchange Server 2003 to read task,calender info.
I read EWS(Exchange Web Service) can use for this, But it can be works only for MS Exchange server 2007/2010.
How can remotely access Exchange Server 2003?
Thanks in advance.
|
|
|
|
|
|
Hi,
I want to Bind MP4 video file from Server to Lieral through c# code using HTML5 Player.
i could not able to set the path from the server.I tried a lot of samples from internet but it was not working in either of the browsers.
<u>Here is the Function i used to call the and was not able to set the source path:</u>
<b>
<pre lang="c#">this.Literal1.Text =GetWmaObject(mySourceUrl, isFullSize);
private string GetWmaObject(string sourceUrl, bool isFullSize)
{
string myWidthAndHeight = "";
string myObjectTag = "";
sourceUrl = sourceUrl + "";
sourceUrl = sourceUrl.Trim();
if (sourceUrl.Length > 0)
{
//Continue.
}
else
{
throw new System.ArgumentNullException("sourceUrl");
}
if (isFullSize)
{
myWidthAndHeight = "";
}
else
{
myWidthAndHeight = "width='640' height='480'";
}
sourceUrl = sourceUrl + "";
sourceUrl = sourceUrl.Trim();
if (sourceUrl.Length > 0)
{
myObjectTag = myObjectTag + "<video class='video-js' width='80%' height='264' controls='preload' >";
myObjectTag = myObjectTag + "<source src='" + sourceUrl + "' type='video/mp4; codecs='avc1.42E01E, mp4a.40.2'' />";
myObjectTag = myObjectTag + "<source src='" + Server.MapPath("~/ArtifactFiles/gizmo.webm").ToString() + "' type='video/webm; codecs='vp8, vorbis'' />";
myObjectTag = myObjectTag + "<source src='" + Server.MapPath("~/ArtifactFiles/gizmo.ogg").ToString() + "' type='video/ogg; codecs='theora, vorbis'' />";
myObjectTag = myObjectTag + "<object class='vjs-flash-fallback' width='640' height='264' type='application/x-shockwave-flash'";
myObjectTag = myObjectTag + "data='http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf' />";
myObjectTag = myObjectTag + "<param name='movie' value='http://releases.flowplayer.org/swf/flowplayer-3.2.1.swf' />";
myObjectTag = myObjectTag + "<param name='allowfullscreen' value='true' />";
//myObjectTag = myObjectTag + "<param name='flashvars' value='config={'playlist':['http://video-js.zencoder.com/oceans-clip.png', {'url': '" + sourceUrl + "' ,'autoPlay':true,'autoBuffering':true}]}' />";
myObjectTag = myObjectTag + "<img src='http://video-js.zencoder.com/oceans-clip.png' width='640' height='264' alt='Poster Image'";
myObjectTag = myObjectTag + "title='No video playback capabilities.' />";
myObjectTag = myObjectTag + "</object>";
myObjectTag = myObjectTag + "</video>";
return myObjectTag;
}
return myObjectTag;
}
</b></pre>
In the above c# code sourceUrl - > when i set the source url the video is not playing.
Please do needful for this solution since it is bit urgent.
Thanks
Murali
|
|
|
|
|
|
Hi
This is for You Tube, i want to retrieve the Path from the server.
Thanks
Murali
|
|
|
|
|
Hello All,
Please help with the following. I am a newbie to asp.net and trying to have a grid view with binding data with the help of code.
I need to have a grid-view with 2 column, which is a result from a complex sql-querry (more then one table). the 2 columns are as follows
1) display one image
2) display some formatted text and a link and a button. (the text and the link-text comes from different db table.)
thanks in advance
hrishi
|
|
|
|
|
|
|
Hi,
Is there a way to change the and tags of the master page from a child page?
I want to do the following:
- Add onload, onclick and onkeypress attributes to the master
- Add autocomplete, enctype and action attributes to the master
- Change the master method to POST
The idea is that the page will redirect to the url specified in the after the submit button is clicked.
Thanks and regards,
Rafferty
|
|
|
|
|
To add attributes to the body tag, refer to this[^] tip. For adding attributes to the form, you can refer to that tip as well, particularly on the part of exposing the properties. And then on your Master Page, you can access the attributes of the form by using this.[name of your form].Attributes
Signature construction in progress. Sorry for the inconvenience.
|
|
|
|
|
Hi Guys,
In my Crystal report i have more than 1900 pages are there, i am trying to export all the datas into excel, but i am getting failure, is there any possible ways there to export all the datas to excel?, mean we need to change any thing in web.config file? for to resolve this probs?
Thanks & Regards,
Member 3879881,
please don't forget to vote on the post
|
|
|
|
|
I know that Excel 2003 has a row limit of 65000 ish rows, is your report larger than that?
Getting error in report when export to excel[^]
Lobster Thermidor aux crevettes with a Mornay sauce, served in a Provençale manner with shallots and aubergines, garnished with truffle pate, brandy and a fried egg on top and Spam - Monty Python Spam Sketch
|
|
|
|
|
Hi Simon,
Yes its having more than 80000 rows, is there anyway to export all the datas into excel sheet?
Ya we know only excel sheet have 65000 rows, but is there any possible way to split the records and export to excel worksheet1 and worksheet2? or anyother way is there to export all the datas into excel?
Thanks & Regards,
Member 3879881,
please don't forget to vote on the post
|
|
|
|
|
guys;
I have a problem with requesting resources from a virtual directory in IE8
I have in the page:
<img src="server/siteroot/virtualdirectory/resource.jpg" />
The first time i thought there was a problem with the resource, but i discovered that the image is shown in Chrome, FF, Opera, Safari, and also IE9 which makes no sense because every body knows that <img /> tag makes a get request of its source(src) then a response comes back from server to draw the image in the tag frame and it should make no deference being the resource in a virtual or physical folder.
I am sorry the problem was in the same resource. It had a mime type of image/png and the extension of .jpg which made the response so deferment than the request.
I am sorry again
Help people,so poeple can help you.
modified 5-Mar-12 7:10am.
|
|
|
|
|
I have number of web instances in IIS server, where these websites uses connection strings to connect to the SQL Server data.
There is single web.config file for all the website where there resides connection string which used by these websites.
Few websites have its own web.config file where these uses connection string from this rather than using from common web.config.
My doubt it, when we take the properties tab and click on general. We can see Connection Strings over there with the values. We can create and edit those.
Is this related to the connection string in web.config? If we edit it ,,will this effect in web.config? How can we know which web.config this value is showing in IIS setting , whether in common web.config or web.config of individual web instance folders?
can we add a new connection string in IIS rather than adding in Web.config file?
|
|
|
|
|
Look Sir;
The IIS has a collection of handlers that handle the client requests. Every request assigns as application to handle a group of requests.
An example can be the *.aspx files which are handled by the framework to execute the associated assembly. This assembly reads the connection string from the web.config file in the same folder if it does not exists it reads the connection string from the file in the root directory.
this connection string is the same as that one you can see in the property tab.
Help people,so poeple can help you.
|
|
|
|
|