|
Mark, sorry if the question was not clear. I know jQuery and using it from last 2 years, actually I want to ask why the jQuery file is referenced from Microsoft website instead of a local js reference.
In the code it is checked that if the file in not available at MS site then load it from a local path. Do we get any benefit doing this?
Regards,
Prakash Kalakoti
|
|
|
|
|
Two reasons could be Consistency, the same version can be referenced. Cache, the js file could be cached by ajax.com.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Thanks, caching seems to be more appropriate reason to me.
Regards,
Prakash Kalakoti
|
|
|
|
|
I forgot about this.
http://www.asp.net/ajaxlibrary/cdn.ashx[^]
"By taking advantage of the Microsoft Ajax CDN, you can significantly improve the performance of your Ajax applications. The contents of the Microsoft Ajax CDN are cached on servers located around the world. In addition, the Microsoft Ajax CDN enables browsers to reuse cached JavaScript files for Web sites that are located in different domains."
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
any one please explain how to deploy the web pages in windows server
|
|
|
|
|
|
|
Hi,
aspx page designer don't draw child collections.
Is there someone know a workaround or a solution for this problem ?
Bye,
melnac.
|
|
|
|
|
This is an extremely vague question, you give no relevant details
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
|
|
may be dotnet framework 3.5 not registered with IIS
|
|
|
|
|
Hi,
I am developing Time Sheet where the user selects the date from asp calender
so that seven days will be displayed and the no.of.hours worked will be entered
Here my question is how to save the hours worked into the database.
In my databse there are columns from day1 to day31.
I like to save the hours entered into the corresponding day of database as same the days i entered in the front end.
Suppose if i enetered 8hours for day 27 i like to save 8 in day27 of database.
Please suggest me how i can do this....
Thanks & Regards
Anjani
|
|
|
|
|
So whats the problem, just update table in database
Update [tablename] set D27(your column name)=8 where [condition]
|
|
|
|
|
Its a basic sql query .what are you trying to do..!
I suggest you to read a good book..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Your database design is not scalable. How do you differentiate between months, or years? Do you only expect this application to be used for one 31 day month, then never again?
You should store the date along with the number of hours.
CREATE TABLE TimeSheet
(
ID INT IDENTITY(1,1) NOT NULL,
Date DATETIME NOT NULL, --Or just DATE if using SQL Server 2008
Hours TINYINT NOT NULL
)
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi Guys
I am busy working on a serializer module ,and i have a quick question, lets for instance say i have a LINQ object called User, in a website I want to serialise it to a file , its marked non serializable so it will throw an exception.
Now i take that exact same object I store it in a session called "user" now if i want to call it back I simply go (User)Session[user]; and i have it back . now how does Sessions store that object so i can retrieve it back again ?
Is there maybe a way i can store this object as a byte array and recall it ?
Any help would be great
TThanx
Chona1171
Web Developer (C#), Silverlight
|
|
|
|
|
hi all,
i had been n trouble for weeks, to generate Pdf from Gridview. i tried to use iTextsharp, but not found any how to generate Pdf from HTML. Please help me. its urgent.
Thanks in Advance.
|
|
|
|
|
If you don’t want to use any 3rd party tool for the conversion then try using SSRS report (.rdl file) locally, you can host the report locally (mode=local) in your website and report viewer control will render the pdf file for you.
Regards,
Prakash Kalakoti
|
|
|
|
|
hi,
i used Microsoft report first, but the hosting server is not supporting the same. please help me friend.
|
|
|
|
|
For RDL report you don’t need it to be hosted somewhere it can run on Local Mode also. RDL file is just a template and can be used locally; you can add an rdl file in you website and set it as a report source for the reportviewer control.
Eg
ReportViewer1.LocalReport.ReportPath = Server.MapPath(@"~\Reports\MyReport.rdl");
DataSet dsReport = …
ReportDataSource rds = new ReportDataSource();
rds.Name = "MyDataSet";
rds.Value = dsReport.Tables[0];
ReportViewer1.LocalReport.DataSources.Add(rds);
Check this out
Using the ASP.NET 2.0 ReportViewer in Local Mode[^]
Regards,
Prakash Kalakoti
|
|
|
|
|
hi,
i tried the same first. But unfortunately the hosting server is not supporting Microsoft reporting & its dll's.
|
|
|
|
|
Have you tried coping all the reportviewer dll files in the deoloyment server.
Long back I faced same issue, because in my local system all required reportviewer dll was registered in GAC and same was not the case with the production server, so I copied all the dll files manually in the prod server which resolved the issue.
What error you are getting?
Regards,
Prakash Kalakoti
|
|
|
|
|
hi,
ya ya ,, u r correct. but, i tried the same also. but, for running the reportviewer dll, we have to give FULL Trust to that, which is not given by the server.
|
|
|
|
|
Hi,
i faced this issue last month , i think the best way to do convreting html to pdf is to use
a component for it try to google it
|
|
|
|