|
yes my project consists of many folders and each folder consists of one web.config file. how to convert application level ?
|
|
|
|
|
Ramesh Reddy11111 wrote: . how to convert application level ?
If you are using IIS 7, then you need to convert it to Application other wise you have to create the Virual Diectory.
Goto > IIS > Right Click on Your web site > Properties > Default TAB > There should be a create button, Click it.
Make sure, ASP.NET Version us set properly, check it from ASP.NET Version Tab.
|
|
|
|
|
i am using windows XP SP2 default IIS.
Asp.net version is 2.0.50727. I followed your procedure but same problem. in my project consists of seven folders and each folder consists of one web.config file and web.config file consists of authentication mode="Windows" tag. is it any problem.
|
|
|
|
|
Ramesh Reddy11111 wrote: in my project consists of seven folders and each folder consists of one web.config file
Dont you think it is a wierd design.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Ramesh Reddy11111 wrote: I followed your procedure but same problem.
Did you Click On "Create Button" on Default Tab (Virtual Directory) in IIS ? I don't think so.
Here is another link, which may help you to learn the details of using multiple web.config.
Working with more than one Web.config file
|
|
|
|
|
Hello,
There are four buttons on the asp.net form.
Each has a different ID i.e. Back, Pause, Play, Forward
The commandName property of each button is set to Playback.
I have the event below which is supposed to be fired every time I click on one of these buttons. Do you see why this event does not get fired please?
have I done something wrong?
Thanks
protected void Playback_Command(object sender, CommandEventArgs e)
{
switch (e.CommandName)
{
case "Back":
Response.Write("back");
break;
case "Pause":
Response.Write("pause");
break;
case "Play":
Response.Write("play");
break;
case "Forward":
Response.Write("Forward");
break;
}
}
|
|
|
|
|
arkiboys wrote: s. Do you see why this event does not get fired please?
have I done something wrong?
Did you tried to check using debugging the value of e.CommandName . Did u sent the value of CommandName of button?
one sample ,
<asp:Button ID="Button1"
Runat="server"
Text="Button 1"
OnCommand="Button_Command"
CommandName="DoSomething1" />
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
I have now made this code simpler and have two buttons now as follows:
<asp:Button ID="Back" runat="server" CommandName="Playback" Text="Button" />
<asp:Button ID="pause" runat="server" CommandName="Playback" Text="Button" />
None of these buttons call the playback_command event.
|
|
|
|
|
The Command event is usually used within the context of a databound control, like a repeater, gridview, or datagrid to simplify how button presses in each databound item are handled by the developer.
For example, you have multiple buttons in the ItemTemplate for a repeater, you set their CommandName and CommandArgument propertiers accordingly (with CommandArgument usually databound to a field in the source). Then you trap the Command event for the repeater. The CommandName and CommandArgument values are passed through the arguments of the event handler.
From what you posted, it looks like you just have standalone buttons - buttons that are not part of an item template in a databound control. Is that right? If so, why not just use the Click event?
|
|
|
|
|
Hi, Yes I just have stand alone buttoons.
I just want to learn the way to reduce the number of events by simplyfying them into just one event
Thanks
|
|
|
|
|
You can set some variable, Suppose, Action. If Action=0 then Play, Action=1, Pause etc. And On button click check the Action value and do the operation.
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
I do know that there is a way to setup an event for all the buttons. Do not remember it.
|
|
|
|
|
|
This link made it clear.
Many thanks
|
|
|
|
|
Welcome any time
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Hi, I am using Asp.net 3.5 With Ajax i am using ScriptManager.RegisterArrayDeclaration(controlid,'Arrayname',Values) in my application, which is for load the values into an array at clientside. I am using this array in javascript and try to retrieve the values in from array.
code: in my CodeBehind i have below statement:
ScriptManager.RegisterArrayDeclaration(this, "ArrayCutScoreItemProctorIDS", String.Concat("'", lblCutScoreItem.ClientID, "'"));
in My Javascript File i am using this below code
if (ArrayCutScoreItemProctorIDS.length > 0) {
for (var i = 0; i > ArrayCutScoreItemProctorIDS.length; i++) {
if (ArrayCutScoreItemProctorIDS[i] == institutionpurchaseid) {
var radcls = document.getElementById(ArrayCutScoreItemProctorIDS[i]);
radcls.innerText = s.CutScore;
radcls.setAttribute("CutScore", s.CutScore);
}
}
}
but i am getting error message as Array() is undefined.and my first item in the array is able to retrieve.
I am confused what happenening inside.
Can i anyone help me on this? How ScriptManager.RegisterArrayDeclaration would work?
fttyhtrhyfytrytrysetyetytesystryrty
|
|
|
|
|
How to convert from numbers(002) to Text format using ASP.Net 2005 C# coding.
Please help me...
Thanks.
modified on Saturday, July 25, 2009 8:59 AM
|
|
|
|
|
This question makes no sense. What does the question have to do with the title ? Do you REALLY not know how to turn an int into a string ? Please tell me you're not being paid for your work....
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Thanks for ur replay Christian Graus,
My Datatable contains value 002 whenever i download in Datatable to Excel. It shows only 2 but i need the following format 002 in Excel download file(Using ASP.Net-05, C#).Is it possible. plz replay ...
Thank u.
|
|
|
|
|
hi
i want to make pc-phone ,mobile connector dialer.
what r the requrement for that?
if code is available than provide me
|
|
|
|
|
Any_India wrote: hi
i want to make pc-phone ,mobile connector dialer.
what r the requrement for that?
if code is available than provide me
This is nothing to do with ASP.Net
Abhijit Jana | Codeproject MVP
Web Site : abhijitjana.net
Don't forget to click "Good Answer" on the post(s) that helped you.
|
|
|
|
|
Any_India wrote: what r the requrement for that?
Dude, you have no idea of the requirements and you still want to build this.
Do you really think you would be able to do this?
Any_India wrote: if code is available than provide me
This [^]place has a lot of people ready to provide with Kilos of code you want.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
As of my knowings there is no such mobile dialer or pc2phone based on Asp.net. It is available on Windows(QT or Visual C++ or Java ), Nokia- S60 3rd, S60 5th and Symbian Anna (Symbian), Iphone (Objective C) and Android (Java + Native). And it is not that easy task to have in a day or month. And you wont get source code like this.
We provide this kind of solution. Of course it was needed years to make it..
spinytel@gmail.com
|
|
|
|
|
i have a buuton, and i want with click it open a new window and send a value to that form
i wrote: response.rediret(url) but it open that window i want open a new window, plz help
|
|
|
|
|
Use window.open("yourpage.aspx") in the onClick event(javascript event) of the button.
For server side click event,
Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "openWindow", "window.open('DemoPage1.aspx')", true);
|
|
|
|