|
Unfortunately I have not personally used the frameworks so I could not give you solid advice, but CakePHP is supposedly excellent.
Brad
Australian
- Me on "Public interest"
If you actually read this let me know.
|
|
|
|
|
Hi All,
I am building a desktop application in VB.NEt which consumes web-service.
I am using proxy classes of the provided WSDl files.
I am calling web-service asynchronously.
The signature of the web-call is as follows
Public Function BeginRequest(ByVal Request1 As Request, ByVal callback As System.AsyncCallback, ByVal asyncState As Object) As System.IAsyncResult
Public Sub EndRequest(ByVal asyncResult As System.IAsyncResult)
The generator of web-service are saying if we receive web-server's OK responce the call is successful.
But how to check the web server's OK responce?
Could anyone help me out?
Every thing will come to you if you have faith.
|
|
|
|
|
|
But I am not using this in ASP.NET page like aspx etc. I am calling web service using proxy class, build from WSDl file.
I do not which object or property to be used for getting HTTP header details.
As far as I know there is no such property/object avaialble in the proxy class.
Every thing will come to you if you have faith.
|
|
|
|
|
Hi!
I have to architect per my boss decree a webapp running ASP.NET 2.0 with an SQL Server 2005 Standard database. That's fun so far. The purpose of the webapp is to let customers order online print. I work for a printing company. It's a print on demand thing. Nice app so far, I thought.
More to the point, the customers must be able to see a preflight PDF of his template before ordering. I thought no problem, I'll use iTextSharp to create the PDF.
Then, the boss continued. The customer must also be able to upload an excel file to create a variable data based template, like, the business cards for everybody in the company for example. I thought, sure, iTextSharp once again with a looper...
And then he gave me and my smug look the real kicker. The customer also needs to be able to *draw* or *sketch* a new template, using lines, curves, rectangles, ellipses, text, images. And in layers too. With transparency of course, and in a web front end!
Now, the kicker actually *is* kicking the crap out of me here
How do get to write something like that, something in essence that closely matches what Cumulate Draw does?
I need insights since I'll have to write it from scratch. What base librairies, or technologies would you recommend for something like that?
Thank you!!!
Antoine Dubuc
Transcontinental Direct Montreal
|
|
|
|
|
Check out CanvasPaint[^]. This is pretty much not gonna work on IE (although you could try hacking together an IE solution using ExCanvas[^]).
If your needs are fairly simple, you might be able to use something like Rama's AJAX Scribble[^] technique...
Otherwise, there's always Flash[^]...
----
It appears that everybody is under the impression that I approve of the documentation. You probably also blame Ken Burns for supporting slavery.
--Raymond Chen on MSDN
|
|
|
|
|
|
gubba wrote: I am developing a project for an online exam where i want to disable the test takers from going back to the previous page.
There are ways... but they're not guaranteed. Realistically speaking, it's up to the browser whether you can ever go "back". You can use redirect tricks or JS to encourage a browser to ditch its history... but if this is actually important then you'd better do it server-side: keep track of which pages they've completed, and ignore (silently (or noisily if you prefer)) any attempt to re-submit that section of the test.
Now, I'm assuming that you really only care about preventing users from going back to change their answers - if you'd rather they not even be able to view their previous questions/answers, then you should be able to use cache control hints to encourage the browser to discard previous pages - when completed sections are requested, just redirect to the first incomplete section (or, a screaming red "cheater" page, whichever). Of course, there's no guarantee that browsers will respect this, but then, there's nothing preventing users from copying or printing previous pages either...
----
It appears that everybody is under the impression that I approve of the documentation. You probably also blame Ken Burns for supporting slavery.
--Raymond Chen on MSDN
|
|
|
|
|
|
hello while I was searching on code project I found ur good question, i need the solution cause it is good to put it on all of ur done websites,
may u please send me the solution that u got in more details cause i didnt undrstand the solution
Thanks alot
Hamody
|
|
|
|
|
|
hi, morning,
i made a small website with 2 web forms, i put the script code u sent me on the top of the web form 1 but it disabled the back to the whole of the web site, i want it to disable the back on specific web form, so how it will be???
Thanks alot
Hamody
|
|
|
|
|
|
gubba wrote: This method is working fine for me.
Be aware, all i need to do to break this is to disable Javascript...
----
It appears that everybody is under the impression that I approve of the documentation. You probably also blame Ken Burns for supporting slavery.
--Raymond Chen on MSDN
|
|
|
|
|
|
Hi Guys,
I have encountered this problem when I am having my Classic ASP code that was put inside the string variable including the directives (<% varTemp %>). The value of varTemp is coming from my table categories wherein you can find there tha CategoryID. And the value of the CategoryID will be used dynamically as an indicator if the checkbox will be displayed as checked or unchecked.
Page Error:
Microsoft VBScript compilation error '800a0409'
Unterminated string constant
/signup/checkbox4.asp, line 6
&"<%= varTemp
-------------^
Below is my trial Classic ASP code, before moving to my actual ASP Coding. I hope this can be solved. Thanks in advance
<%
Dim sCheckBox
sCheckBox = sCheckBox + "" _
&"/>" _
&"Test Checkbox" _
&""
%>
<%= sCheckBox %>
hifiger2004
|
|
|
|
|
Think you need to remove the <%= and %> from varTemp, since you're already in a code block.
- S
50 cups of coffee and you know it's on!
|
|
|
|
|
Oh I am sorry Steve, I think I have to explain further if why I need the "<% VarTemp %>" during the populating of checkboxes.
If I will going to remove the <% VarTemp %> from the string variable, then there's no way the checkbox will be "checked", automatically during the dynamic creation.
Actually it's only a test program for me, and if it is successful then I will transfer the concept in my real ASP programming with tables.
The real concept of the program is this, I have a CustomerCategory Table wherein the value is the CustomerID and CategoryID. From this table I will going to load the Category per Customer in a Form of Checkboxes, and upon creating the checkboxes dynamically based from the data of the CustomerCategory Table, the program will display the checked checkboxes.
Let's say for all 10 categories, only 3 of these categories has to be checked based from the CustomerCategory Table. The question is how it will be done?
What I need is only to know if how can I include the directives or block inside the string variable. Because once this will be solved then the variable inside the block will be - "v" + RecordSet("CategoryID"), which I will be using it based from CustomerCategory Table data.
I hope you have a better idea
Thanks Steve
hifiger2004
|
|
|
|
|
Hi Steve, thanks for the reply
Actually, this is only my test program before transferring the concept to my real classic asp program with tables thru mssql2005 database.
The setup is this - There's a CustomerCategory Table that has a CustomerID and CategoryID. And the value of CategoryID will be used for the dynamic creation of checkboxes.
Let's say for example, for all 10 categories, only 3 of these are being stored in CustomerCategory Table. The question is how can I be able to populate the 3 categories by displaying thru 3 checked checkboxes?
Do you have any idea on how it will be done, dynamically?
Thanks in advance
hifiger2004
|
|
|
|
|
I am fairly new to this, if I have teh following datagrid configruation
<br />
<br />
<asp:DataGrid id="DataGrid1" runat="server" Width="959px" Height="94px" Caption="Lots Currently Running"<br />
AllowSorting="True" <br />
AllowPaging="True" <br />
AllowCustomPaging="True" <br />
OnSortCommand="Sort_Grid" <br />
OnSelectedIndexChanged="Select_CurrentLot" ><br />
<Columns><br />
<asp:ButtonColumn Text="Select" CommandName="SelectCurrentLot" ButtonType =PushButton /><br />
</Columns><br />
</asp:DataGrid></asp:DataGrid><br />
I was thinking that when I clicked a button next to a row it would call the "Select_CurrentLot" procedure, but it does not seem to. (Grid loads fine, button show up fine, just nothing happpens when I click one). Am I mis-understanding this or did I go wrong someplace else?
Thanks in advance
|
|
|
|
|
I guess I need help asking questions... I used the code link but it still seems to have gotten confused on HTML format...
so to simplify the question I have a button next to my grid to click
something like: ButtonColumn Text="Select" CommandName="SelectCurrentLot" ButtonType =PushButton
I defined OnSelectedIndexChanged as above and made a subroutine to handle it, when I click the button I was expecting to run the sub but nothing happens... any idea how to debug or what to fix?
|
|
|
|
|
Hi!
I m developing an application in C# asp.net....when i give value like in my text box and then insert it into sql server by using insert query ....it gives exception message
A potentially dangerous REquest.Form value was detected from the client
is there any way to insert values like this coz i have to do it must
|
|
|
|
|
Before submitting from webpage call JavaScript escape() and submit. You can apply UrlDecode to retrieved the contents back on the server.
|
|
|
|
|
Hello all
I need one favour from u how to send mail from php
code need
many thanks
hai all please clarify mny doubts
|
|
|
|
|