|
Hi..
I am making a comparison site. I am crawling a site & getting 1000 of records which i m displaying in grid. Bt as there r 1000 of records, it takes 2 long to load. I want that as soon as it gets few records from a site, it shld display them nd den continue searching further as in the following link
"http://journeysasta.com/flights/flightSearch.htm?direction=RoundTrip&originCity=DEL&destCity=BOM&departDate=12%2F09%2F2008&returnDate=12%2F09%2F2008&cabinType=Economy&adultSelect=1&childSelect=0&infantSelect=0&Submit=&processCounter=0"
How to do this? Can it b done using ajax or something else.. Plz suggest something...
|
|
|
|
|
I have a pop up page and on it there is a button im using to save data, but after saving i want to refresh the main page(which is working fine) but after that i want to close the pop up page as well(which aint happening-the problem). My problem is if i have both of these statements/functions under one control only the first one works. im running these lines from c# under the click event of the save button.
Does anyone know what the problem is.
string scriptString2 = " window.opener.document.forms(0).submit(); ";
if (!Page.ClientScript.IsClientScriptBlockRegistered(scriptString2))
{
Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "submitScript", scriptString2);
}
string scriptString = " window.close(); ";
Page.ClientScript.RegisterClientScriptBlock(this.GetType(), "submitScript", scriptString);
|
|
|
|
|
Submit both the scripts at once. You can concatenate the secound script to scriptString2.
|
|
|
|
|
thank you very much, it worked
|
|
|
|
|
How do i force a page postpage using a button. say i want to make a control on a page invisible when i click a button- note setting to invisible requires a postback on the page
Thank you
|
|
|
|
|
server side buttons generally post backs... if you have made that button inside one updatepanel use PostBackTrigger.
Abhishek Sur
|
|
|
|
|
thank you very much its inside an update panel
|
|
|
|
|
Dear all,
I want to create my own web i want to create forum, auction, users. I want to know what is the size of the web should i buy.
Thanks
|
|
|
|
|
100 MB minimum
500 MB Enough .... For intial even though the project is how much big..
If you have more images then take more than 500MB.....
Cheers..
|
|
|
|
|
|
One more question related to the above web site.
Could I use sql Express edition which is already installed in the vb.net 2008 to build this site.
|
|
|
|
|
Hi all,
I have registered domain in www.sites.google.com , so i want to change the url of my login page , is it possible?
can i customize the url , can u give me one idea ?
Thanks & Regards
sams.
sams
|
|
|
|
|
hi all,
how to make DropDownlist values as auto increament on button click .
for suppose after submission of task one dropdown will auto move to 2nd number .
can any body suggest me what i have to do .
best regards
Rameez
|
|
|
|
|
in the button_Click() event you can do:
to go to the next item in the list:
myDropDownList.SelectedIndex++;
to add an item with an autoincrement text and value:
myDropDownList.Items.Add(new ListItem(textBox.Text, (myDropDownList.Items.Count).ToString());
|
|
|
|
|
Hi all
i am using asp.net , C# , ajax1.0
i want to know is it possible to perform client side validation for not allowing date before current date + 5 that is if i am entering a date today(11-09-08) then it should not allow any date before 16-09-08
Please help
Thank you.
imran khan
|
|
|
|
|
use regularexpression and set its expression dynamically, so you coup with the current date
|
|
|
|
|
You would have to parse the string and create a Date object from it, and create a Date object to compare it with. Something like:
if (/^\d\d-\d\d-\d\d$/.test(input)) {
var today = new Date();
var limit = new Date(today.getYear(), today.getMonth(), today.getDay()+5);
var arr = input.split('-');
var inputDate = new Date(parseInt(arr[2],10), parseInt(arr[1],10)-1, parseInt(arr[0],10));
if (inputDate >= limit) {
alert('Date is ok.');
}
}
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi,I'm using FDFKit for creating PDF files in my web application.
The pdf template is created using Adobe Life Cycle Desinger(v8.0), with a text field whose Name filed is "Name". in my .Net C# code im trying to populate the field dynamically as following:
string name = "google";
FdfAppClass FdfAcX_App = new FdfAppClass();
FdfDoc outputFDF = (FdfDoc)FdfAcX_App.FDFCreate();
outputFDF.FDFSetFile("http://machinename/websharedpath/myfile.pdf");
outputFDF.FDFSetValue("Name", name, false);
Response.ContentType = "application/vnd.fdf";
Response.Write(outputFDF.FDFSaveToStr());
Response.End();
outputFDF.FDFClose();
PDF is opening properly but the value is not set in the field. Please help me in this issue.
Thanks KC
|
|
|
|
|
I believe that the problem is with Life Cycle Designer. Try creating a pdf with acrobat, creating a text field "Name."
I ran into the same problem a while back, and Adobe Expert Aandi Inston confirm that:
"LiveCycle forms don't support the FDF format, you do indeed have to
use Acrobat forms."
See the forum:
http://www.adobeforums.com/webx/.59b4a578/19[^]
|
|
|
|
|
I've been working my first web site and I'm trying to connect in my oracle with this code..
and i'm using Microsoft web developer 2008
Dim oraCommand As OracleCommand = New OracleCommand(strSQLRecords, oraConnection)
Dim oraDataAdapter As OracleDataAdapter = New OracleDataAdapter(oraCommand)
Dim oraDS As New Data.DataSet
oraDataAdapter.Fill(oraDS)
Return oraDS
but I always get the error in the oraDataAdapter.Fill(oraDS) line
"ORA-12154: TNS:could not resolve the connect identifier specified"
hope you can help me with this problem..
thanks in advance
modified on Wednesday, September 10, 2008 11:42 PM
|
|
|
|
|
your tnsnames.ora is not configured correctly
Click Here
|
|
|
|
|
my tnsname is fine. and I've already re-installed the oracle 10g in my computer but
it only producing the same error..
|
|
|
|
|
It does sound like your tnsnames.ora file is not configured correctly.
Can you connect to the DB via tools such as SQL Tool or Toad. They can utilise the TNSNames file settings to connect to the relevant DB, as least with this way you can establish if the tns.ora file at fault or not. You can also try manually connecting to the DB using these tool to validate any credentials etc..
Other options are to check the listeners are configured correctly and will accept connections
Hope these ideas help
Rich
|
|
|
|
|
Hi,
I am tring to write in event log but i have security problem
I have done some searchs but nothing usful for now
VS 2008 AND VISTA Home
String eventSource;
eventSource = "TESTc";
EventLogPermission eventLogPermission = new EventLogPermission(EventLogPermissionAccess.Write, System.Environment.MachineName);
System.Diagnostics.EventLog eLog = new System.Diagnostics.EventLog("Application", System.Environment.MachineName);
eLog.Source = eventSource;
eventLogPermission.PermitOnly();
eLog.WriteEntry("This test now", System.Diagnostics.EventLogEntryType.Information);
----------------------
Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Yes. CreatiVity withOuT limiTs
|
|
|
|
|
This is Releated to Security Acees Persmission.
are you facing the problem from local enviroment or after deployment of your application.
if you deployed your application on IIS then you can face this problem becuase i think you are run your application on Default Application Pool .
You just create your own application pool and Give the Identity to local System that your application has the access to write on local system event viewer. then Asing this application pool to your web application !!!
Hope this will resolve yopur problem !!!
cheers,
Abhijit
Think Sharp | Code Sharp | C Sharp
|
|
|
|