|
Hi All
1.How to use windows service in webApplication?
2.what is StandloneApplication?
Thanks to all Repliers
|
|
|
|
|
Hi,
I try to make embedded WinForm in Web Application. I follow some step from this forum.
I have problem about this. I create ActiveX and put that object to webpage.aspx using CLSID. I can run im my computer, but can't run in client computer. Can you help me please?
This is the way how I expose the object:
<object id="webCamControl" classid="CLSID:6C6DD9C1-6900-45cb-842E-7284EFAAF2B2" codebase="WebCamCab.CAB" viewastext="">
I also try this way: (not show anything, just blank box)
<object id="webCamControl" classid="MyWebCam.dll#MyWebCam.WebCamCtl" viewastext="">
I put the .dll and .cab file in my web folder.
Please help me. What's wrong with my code?
Thank you very much
BR,
Lili
|
|
|
|
|
hi, all
I have one problem. I want to used javascript with treeview control in asp.net.
when selected each node of treeview I want it alert confirm message to ask me.After that confirm if I click on button "Ok" of confirm message.then I want treeview fire OnSelectedNodeChanged event.In contrast if I click on button "Cancel" of confirm message it does nothing. how can I put javascript on each node of treeview ? Anyone can help me ?
thanks
khweb
|
|
|
|
|
Hi, I have a doubt in the datagrid, that is if a button is clicked in the datagrid what are events raised what is the flow.
yamini
|
|
|
|
|
if u are putting asp:button and setting property commandName = "Select" then on click of button selectindex even will fire.
same way for commandName = "Delete" then delete event of datagrid will fire.
Thanks,
Sun Rays
|
|
|
|
|
Thanx for your infn. After this, what happens i want the complete flow till the end.
|
|
|
|
|
Hi,
i want to create version string for a file.
like if first time I am adding file in Database then it's version will be 1.0.0.0 and later on when I will make new version of that existing file it will be 1.0.0.1 and so on.....
how to do this ?
Thanks,
Sun Rays
|
|
|
|
|
Hi, i want to display the values in the itemtemplate coloumn where i have placed a textbox. I want to make the textbox visible false and true based on the condition. I have tried the code from many sites but it didnt solve my problem. I can make the textbox visible false in design time but when i try to make it visible, they are not being displayed.
code to make visble true:
datagrid1.item.coloumns[10].visible = true;
plz help me to make the textboxes visible and to get the values from the database.
Thanx,
yamini
|
|
|
|
|
hi,
u have mistaken here..
yaminilatha wrote: code to make visble true:
datagrid1.item.coloumns[10].visible = true;
when u want to make it visible u have to first find the control and then can make it visible = true.
here is code in vb.net
dim text1 as new textbox
text1 = ctype(datagrid1.item.coloumns[10].findcontrol(IDofTextbox),textbox)
text1.visible = true
or u can make it false
text1.visible = false
Thanks,
Sun Rays
|
|
|
|
|
Thanx, for your infn. I tried this code also but i got the error near ctype, like no method exists.
|
|
|
|
|
Sun Rays wrote: here is code in vb.net
u convert in c#
Thanks,
Sun Rays
|
|
|
|
|
Hi plz answer the following if possible.
1. What happens if there is no global.asax file in asp.net project, will it run.
2. What happens if there is no web.config file in asp.net project, will it run.
3. How many web.config files can a asp.net project can have.
Thanx,
yamini
|
|
|
|
|
1. Nothing is gonna happen, if you don't have a Global.asax file. But you can't write code for the events such as the Session start and application start.
2. A web.config file will be added to your site by default. And if you delete it.
I think the site is not gonna work. As all the connection strings , debug attributes and a whole lot of things reside in this file.
3. You can have as many web.config files as you want.
|
|
|
|
|
Thanx, for your infn.Is Nothing going to happen to the project if there would be many web.config files means there wont be any confusion if i write session infn in one file, connection string in one file and security aspects in one file.
yamini
|
|
|
|
|
Hi,
I wish to know whether it is possible to create an application in asp.net/C# that can manage the controls in another application? (Like a control panel tool)
For ex.,let us say that an application has a label called Reference. While installing the app, if the label is irrelevant, i should be able to use the other application to disable the label.
Is that possible?
|
|
|
|
|
No, an ASP.NET site is self contained, it's not going to control any other app, web or otherwise.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
hi all,
i am using web parts in my project.
in order to use web parts ,i need to provide personalization for the logged in users.
by default the newly created user details are getting stored in default tables aspnet_membership.
but i want to store the user values in the my own tablw which i have created in my database and i need to provide the personalization for those users.
for example:
i have a table for my company employees details.
i need to design a local web site which has a customization property.
my web site must allow my company employees to customize their page .
i need to get the user details from my employee table and provide the customization facility for them whe they logged in to the sute.
Main think is instead of using the default aspnet_users,aspnet_membership table i need to use my own table which i have it in my remote DB.
can any one help me out to slove this problem...
thank u...
|
|
|
|
|
<table id="TABLE1" style="width: 400px; height: 64px;" language="javascript" onclick="return TABLE1_onclick()"><br />
<tr><br />
<td rowspan="2" valign="top" style="background-color: red; width: 130px;">
hi above is the code for my table(part of it)
how can i change the table height to fellow the size of the web page?\\
in html i simply declar hight = 100%
i tryed it here but doesnt seem to be working or am i using it wrong?
|
|
|
|
|
height : 100% should work, I thought.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
you got any saple or examples which i can use?
only tried the 100% way in html so far
thx by the way
|
|
|
|
|
Hi every one,
I need help in making a page to post back when another page postsback, lets say when a button is clicked in the other page!!
Your help is highly appreciated..
Thanks
|
|
|
|
|
You mean, you have 2 web pages? 1 is parent and another is the child?
Example:
parentWeb.aspx -> main web page.
parentWeb.aspx call another webPage (ex. childWeb.aspx).
When user click button on childWeb.aspx, you can make parentWeb.aspx post back by this way:
On childWeb.aspx:
var wndParams = window.dialogArguments;
opener = wndParams[0]; --> parentWeb.aspx
function onButtonClick()
{
opener.doWebPostback();
}
On parentWeb.aspx:
function doWebPostback()
{
document.Form1.submit();
}
Hope this can help you
Lili
|
|
|
|
|
First of all thank you..
I have a page contains 2 frames, each is a .aspx, and I want to force the second one to post back when a button in the first page is clicked, its not a parent and child pages..
Thanks again anyway..
|
|
|
|
|
hi all
I've implemeneted microsofts default membership provider, everything works great. I need
to restrict users from changing their password to a password they already used in the last
x months.
Does anyone know how the default membership provider can do this? If not, any ideas on how
to implement it?
we have passwords hashed, so we cant really store em outside of aspnet ourseleves.
thanks in advance.
moazzam
|
|
|
|
|
Ass far as I know you would have to extend the MemberShipProvider to add this feature
only two letters away from being an asset
|
|
|
|