|
still facing the same problem.
coolsatty
|
|
|
|
|
So what have you tried? Is the IIS setup unusual in any way?
Not sure if this is valid but try a path of "~/" or just "~".
|
|
|
|
|
Even this is not working,check out the code i have written
<forms name="ASPXAUTH" loginurl="~/LoginUser.aspx" protection="All" timeout="30" path="~/">
but everything is fine when i am running in my PC ie offline.when i upload in server i get this error.and server is handled by some third party.Thank you
coolsatty
modified on Friday, March 28, 2008 12:57 AM
|
|
|
|
|
hai
I want to open some external application like (exe) using asp.net 2.0.
I tried with the help of this code on button_click
ProcessStartInfo startInfo1 = new ProcessStartInfo();
Process prcs = new Process();
prcs.StartInfo.FileName = "thirdparty.exe";
prcs.StartInfo.Arguments = filename;
prcs.Start();
without arguments it opened on the desktop, but with argument it doesn't show anything (it's run on background process)
Can anyone known help me
Thanks in Advance
|
|
|
|
|
You will be able to open an external application on the same machine as the web application is running because the code is executing on the server side and this code has access to local resources.
Be warning, this will probably expose a security vulnerability on your server.
You will not be able to open an external application on a client machine as the client side code does not have permission to execute another executable from the browser.
|
|
|
|
|
Hi Everyone,
i am using AjaxCalendar Control,for Multilugnial site. when i change the
Language from English to French, then the AjaxCalendarcontrol does not changing to Frech Language, when i remove the UpdatePanel and ContentTemplate tag in the design, its working fine.
can u given me solution, it should work, when i place the UpdatePanel and ContentTemplate also.
Plz give me solution.
<div class="SearchHotelRow">
<div class="SearchHotelLabelTwoColumnFormat">
<asp:Label ID="L_CheckInDate" runat="server" Text="From:"></asp:Label>
</div>
<div class="SearchHotelControlTwoColumnFormat">
<asp:TextBox ID="TB_CheckInDate" runat="server" Width="70px"></asp:TextBox>
<asp:ImageButton ID="IB_CheckInDate" ImageUrl="~/App_Themes/Images/Calendar_Icon.gif"
runat="server" ImageAlign="AbsMiddle" CausesValidation="False" />
<ajaxToolkit:CalendarExtender ID="CE_From" runat="server" TargetControlID="TB_CheckInDate"
Format="MM/dd/yyyy" PopupButtonID="IB_CheckInDate">
</ajaxToolkit:CalendarExtender>
</div>
<div class="SearchHotelLabelFourColumnFormat">
<asp:Label ID="ToCheckDateFormat" Text="(mm/dd/yyyy)" runat="server"></asp:Label>
</div>
</div>
<div class="SearchHotelRow">
<div class="SearchHotelLabelTwoColumnFormat">
<asp:Label ID="L_CheckOutDate" runat="server" Text="To:"></asp:Label>
</div>
<div class="SearchHotelControlTwoColumnFormat">
<asp:TextBox ID="TB_CheckOutDate" runat="server" Width="70px"></asp:TextBox>
<asp:ImageButton ID="IB_CheckOutDate" ImageUrl="~/App_Themes/Images/Calendar_Icon.gif"
runat="server" ImageAlign="AbsMiddle" CausesValidation="False" />
<ajaxToolkit:CalendarExtender ID="CE_To" runat="server" TargetControlID="TB_CheckOutDate"
Format="MM/dd/yyyy" PopupButtonID="IB_CheckOutDate">
</ajaxToolkit:CalendarExtender>
</div>
<div class="SearchHotelLabelFourColumnFormat">
<asp:Label ID="L_CheckOutDateFormat" Text="(mm/dd/yyyy)" runat="server"></asp:Label>
</div>
</div>
here i am not placed the UpdatePanel and ContentTemplate tag, its work when i placed it. it does not work.
modified on Wednesday, March 26, 2008 6:18 AM
|
|
|
|
|
can you upload your code so we can see what is happening
|
|
|
|
|
Hi!
I think you should use a "ScriptManager" control in your page.
try it(if you have not one)!
if it did not work again, let us know how and where you change the language.
|
|
|
|
|
Hello Guy,
Can any one tell me how do i add a report Viewer at a click event as i have to add thousand of reports from report server so i want is how to take name of EACH REPORT STORED ON REPORT SERVER and SHOW THEM IN TREE VIEW also WITH THAT ON THE CLICK EVEBT OF THE TREE NODE IT SHOULD CREATE A REPORT VIEWER ON RIGHT HAND SIDE WEBZONE AND TAKE THE PATH OF THE REPORT NAD GENRATE THE REPORT ............
Please do help me 
|
|
|
|
|
Is it possible to manually fill up a datagrid in VS.net instead of fetching its content from a database?
|
|
|
|
|
Yes it is, although you will want to store the data somewhere while the user is working on it.
Depending on how your application works it may be suitable to store the data in DataSet or collection which is in turn stored as a session object.
|
|
|
|
|
The datagrid will be read only. The user will not be able to do anything on it. What I want is a way to manually enter data into each of the individual cells. Is there someway to do this from the properties menu? Or should I just use a table and modify it so as to make its look consistent with the other grids I have on the page?
|
|
|
|
|
I don't think you can do it from the properties menu. You need to provide some kind of datasource. You can programitically build a datatable or as Christian has suggested an array and use this as your datasource. The disadvantage of this method is that the values are hard coded into your code.
Another option is to store your data in an Xml file and use this as a data source. At least you will be able to modify the data without re-compiling.
|
|
|
|
|
The most obvious way to do this, is to stuff your data into an array and then make that the data source of the control.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I have a small problem with me in my project i am using ajaxtoolkit control CascadingDropDown but almost all examples the value is filled using webservice but insted of that i want to fill the values using some page method like usual functions......can anybody have experience about this..pls suggest me..
regards
alex.
|
|
|
|
|
Hi Malayil
If you want to populate cascading dropdownlists using page methods there is no point using the ajax toolkit. The entire page must postback to execute page methods which goes against what ajax is all about.
|
|
|
|
|
hi..
thanks for ur reply...i found that if we want to page method insted of adding asmx file just keep the value of ServicePath as null in one site
" http://www.asp.net/AJAX/AjaxControlToolkit/Samples/CascadingDropDown/CascadingDropDown.aspx"
ServicePath - Path to a web service that returns the data used to populate the DropDownList. This property should be left null if ServiceMethod refers to a page method. The web service should be decorated with the System.Web.Script.Services.ScriptService attribute.
that's why i asked abt this....
thanks
alex.
|
|
|
|
|
Ok, I see what you mean now, I haven't tried it this way, it sure seems odd. I would definitely prefer to keep page and service methods separate.
Anyway, it looks like if you add the these attributes to your page methods:
[System.Web.Services.WebMethod]
[System.Web.Script.Services.ScriptMethod] and leave the ServicePath blank that it should work.
Your page methods must also return a CascadingDropDownNameValue[] collection.
|
|
|
|
|
Hi,
I have a problem..like in my project i have 4 dropdownlsit
and i extended the dropdownlist say 3 & 4 with CascadingDropDown..and it works fine..
but the problem is that when i select dropdownlist 1 then the control goes to the asmx method ie,what we mapped for dropdownlist 3...it's an unwanted code execution.....
pls suggest me..
alex.
|
|
|
|
|
Hi All
I Have some problem in my web app, i want to communicate with scanner using Asp.Net 2.0,capture the image and show it to my web application,is it possible in asp.net 2.0,Please help me .
Thanks
|
|
|
|
|
I"m sorry, but to even ask this shows you have no idea what ASP.NET is, or how it works. ASP.NET is an engine to generate HTML. HTML/javascript cannot interact with a scanner. Simply not possible.
You may be able to write a java or .NET plugin that a user has to download and run, which may be able to use TWAIN. It's possible. ASP.NET ? No way.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
And... what's wrong with good old proven technology of scanning an image in whatever application you use, and upload the file to your ASP.NET website. ASP.NET's support for handling images and image types is great! However, Christian already cleared out there's no way you can interact with the scanner itself!
|
|
|
|
|
Anybody knows how to upload the skins in dotnetnuke pls help me.
|
|
|
|
|
Just typed upload the skins in dotnetnuke into google, take a look
http://www.google.co.uk/search?hl=en&q=upload+skins+dotnetnuke&btnG=Google+Search&meta=
|
|
|
|
|