|
Hello
Upload new modules
i) Each module consist of ascx (asp/net user controls) & programming script and database script – modules can be any programming/database (PHP/mySQL or ASP/mySQL or ASP/Access or PHP/Access or Asp.net/MS SQL etc etc ) – every time a new module is added the super admin can specify the programming and or database
(1) Admin should be able:
(a) to upload ascx controls for backend administration and PHP User Modules with database script file
(b) Publish Modules to all accounts or to select accounts only
Comment:- This Project is basically a CMS System. By using my application user can make his own site.In my specification there are certain PHP module which will be developed by the PHP Developer and I have to integrate these module with my Asp.Net Application.So user can directly use them into his own site.Not getting what to do with point.
Plz Guide me..
thanx
-- modified at 8:58 Monday 28th August, 2006
|
|
|
|
|
how does an asp.net dynamic page work with it's code shared over multiple files
please explain or provide a related article
haseeb
|
|
|
|
|
What do mean by dynamic pages? Do you need part of a web page which can used in multiple pages?
Best Regards,
Apurva Kaushal
|
|
|
|
|
I am building a web survey type tool. There is a "reward download" for completing the questionnaire. The Questionnaire result / answers are submitted to a web service, to be stored in the db. What I would like to do, is once the db work is complete - to "send" the file to the client.
The files are stored in DB BLOBs. I'd like to avoid writing them to disk (especially FTP-ing them somewhere and then redirecting the client to the file - that just seems messy...)
I'd like to cause an http response whereby the user sees the browser's standard file download dialogue?
|
|
|
|
|
I don't have a lot of experience with web services, but were this a plain old web form you would just have to get the blob from the database and store it in a database. Then use MemoryStream to stream it out to the client.
|
|
|
|
|
Thanks for the idea,
I gave it a whirl using an MP3 file with nonsense extension ".qwe" - IE just wrote the bytes' ASCII equivalents to the page... It seems to behave the same with Response.WriteFile and Response.TransmitFile
If you could provide an example of where you've done this before that would be super.
What I'm after is to get the browser to popup its normal... "What would you like to do with this file?... Download / Run?", dialogue.
|
|
|
|
|
A call to a web service can not send a file directly to the client. To send a response to the client, you need to send a request from the client.
Make a proxy page that gets the data from the database and writes it to the response stream. Make the browser request the page, and it will get the file in return.
---
b { font-weight: normal; }
|
|
|
|
|
Ah-Ha !!!
LightBulb !
You Guys ROCK!!!
Many Thanks
|
|
|
|
|
Hi,
Is there any forum like the code project for Java developers?
Regards,
Ghost Rider
|
|
|
|
|
You will so many forums if you will search on net, but not sure whether you will get something similar to codeproject.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Actually, there was a java forum on CP, but it's now hidden. But I don't think it's difficult for you to search for a place similar like CP.
|
|
|
|
|
Does ViewState property of the DataGrid control need to be set to true for its paging feature to work properly or it can work anyway.Please tell me if any feature of DataGrid control needs ViewState property of true.
Thanks
-- modified at 7:11 Monday 28th August, 2006
|
|
|
|
|
yes the ViewState property should be set to true for paging (default)
Navi
|
|
|
|
|
Dear all,
I new in using asp.net 2.
I create a web site with authorization access to a specific folder “login.aspx” page. I do this by new technology “Asp.net Configuration tools”. I create users and enable roles.
When I run the application Visual studio there is no problem at all. When I want to enter the restricted area login.asp page appear. I enter a user name and password. So I can enter.
But, the problem is that when I want to access to the restricted area by using internet explorer I had the following message. And the login.asp page did not appear.
“Cannot open user default database. Login failed. Login failed for user 'NT AUTHORITY\NETWORK SERVICE'”
How Can I solve this problem.
Thanks
|
|
|
|
|
I think that if you Disable "Anonymous Access" and Enable "Integrated Windows authentication"; on the IIS virtual directory, it will solve this.
"NT AUTHORITY\NETWORK SERVICE" is probably the user specified for anonymous access.
|
|
|
|
|
BillyGoatGruff wrote: I think that if you Disable "Anonymous Access" and Enable "Integrated Windows authentication"; on the IIS virtual directory, it will solve this.
I had the same problem, you are right.
|
|
|
|
|
sample applications/ web services for online voice recording using asp.net 1.1/c#, without using any SDKs
|
|
|
|
|
Ok I have an Access DB and access it through the Detailsview control.
One of the fields in my database is myID which is set in access to autonumber. In the Detailsview control "myID" field has been added as read only. When I press "New" to insert a new record the detailsview enters edit mode.
Problem:
myID field does not show, can set "visibleoninsert" to TRUE
How do I enter a new record a new record and have the autonumber incremented for me???
I thought I would check the MAX number and add 1 then right back but to do this I need to catch the New Event.
Any Ideas???
When people make you see red, be thankful your not colour blind.
|
|
|
|
|
If the myId is an auto-number column then you don't need to specify in the insert mode when you want to create a new row. That also means, you do not need to have a field to input for this value in the insert form.
|
|
|
|
|
If that was the case it would not error on insert...
Unless I enter the next numbrt it fails...
I will look into it further...
Thanks
When people make you see red, be thankful your not colour blind.
|
|
|
|
|
Dear readers,
is there a way to get the size (especially the height) of a datagrid, after i databind a source to it? I need this to know in order to measure the space which is left on the page up to a specific pixel height.
Thanks in advance
Jens
|
|
|
|
|
You can make use of the Height Property of your datagrid to retreive its height.
Thanks and regards,
Suresh Dayma
|
|
|
|
|
Thanks Suresh for your answer,
if i set the Height of the Datagrid i can retrieve it afterwards, yes. But what i need is the actual height of the table, the amount of space it takes when it is rendered. For example if i have multiple rows in the table which are higher than the default height of a row, the whole table gets higher, because the height of the table is determined by the heights of its rows. And i want to retrieve the height of the table after the datagrid is databinded.
Thanks in advance
Jens
|
|
|
|
|
Hi,
In my ASP.Net Application i am using SMTP to send Mails from this application
In localhost System it working fine...
When I hosted that Application in Server, It giving Error like
SendUsing Configaration Value is Invalid
My coding at that plase
SmtpMail.SmtpServer = "localhost"; in this plase I also tried with Server name also
MailMessage mm = new MailMessage();
mm.Subject = subject;
mm.From = fromUserEmailAddress;
mm.To = toUserEmailAddress;
mm.Body = messageText;
SmtpMail.Send(mm);
Thanking you
Balu
-- modified at 5:25 Monday 28th August, 2006
Balu
|
|
|
|
|