|
Abdulhafeezo wrote: i wanna implement a webservice dat will syncronise wit my gmail and also with my yahoo acount.
Joo may use RSS.
Abdulhafeezo wrote: pls caould any1help mewit the source codes
ShoDawg, hep bein found heyah.
|
|
|
|
|
D00D tha's fly maaan.
ragnaroknrol The Internet is For Porn[^]
Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.
|
|
|
|
|
|
I hope you know enough ASP.Net so that when someone hands you the "codes" and it contains a backdoor that forwards all your e-mail somewhere else you can spot it before they get all your Benjamins (or more likely considering your writing style, your Washingtons).
|
|
|
|
|
Hello Guys, I am new in ASP.net and faced with few questions.
Could you please some one explain, why we need to have multiple Controller in ASP.Net MVC?
what is the advantages of having different controllers?
I know the purpose of home controller. I was looking at a project which developed by ASP.net MVC2. they have different controller such as Users, Store Management and the like?
the question is how come they use different controller?
|
|
|
|
|
You can as many controllers are you need. Using separate controllers allows for code to be separated logically, just as any good OOD would do. In this case methods that pertain to Users don't have to be placed in the Home controller. Otherwise you would end up with a monolithic, unwieldy class.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
hi..
I have created a rdlc in asp .net web application.When project runs,by clicking a button,report appears.But there is a problem.When only the
maximise button is clicked,that window will become maximise..I need that when page is loaded,it became in maximised form.Pls help me..There
is not any property such as" window state" for aspx page.Pls help me
|
|
|
|
|
You can use JavaScript to set it. You can do it like this:
<script language="javascript">
window.moveTo(0,0);
window.resizeTo(screen.availWidth, screen.availHeight);
</script>
|
|
|
|
|
Thanks a lot..It works...
|
|
|
|
|
|
|
Thanusree Duth wrote: Pls write this code in 3 tier architecture using bussiness layer and data access layer
Isn't that your job? We are here to help you with specific questions you may have.
|
|
|
|
|
Hello everybody,
I don't know if it is posible do with a listbox or other object but i need to choose the order of a list of address for create later a route of trucks.(not sort by asc or desc)
I want that a user can up o down a row of a listbox (or other object) for this election later save in a table.
I am working with asp.net and vb.net
I attach a picture for that you understand me better (my english is not good, sorry)
Thanks for your help
http://www.myleonberger.net/listbox.jpg
|
|
|
|
|
Well, first you need to define what is your sorting criteria. I'm not sure what your sorting criteria is from your post. Once you have that sorted out, the rest is easy. See Here[^] for some examples
|
|
|
|
|
If I understand you correctly, you want to be able to order the items in a list box manually, to arrange the route order. Strictly the list box isn't sorted, but ordered. I assume you want this done without postback until finished, AFAIK (but I could be wrong) there are no out-the-box .net controls to do this, I found this, hopefully it will be helpful:
http://www.velocityreviews.com/forums/t76756-set-display-order-of-listbox-control.html[^]
ragnaroknrol The Internet is For Porn[^]
Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.
|
|
|
|
|
I don't think the listbox will maintain the rearranged order if you do it with javascript on the client side. What kind of database fields do you have behind it? Is there a column to hold the sort order?
You could figure out how may items you are dealing with and dynamically add hidden fields with numbers in their name MyHidden0, MyHidden1 and so on. Then with javascript in the onclientclick of your save button have a function that loops through the options in the listbox and assigns the values to the hidden field. Then you know that the item in MyHidden0 should have sort order 0 and MyHidden1 has a sort order of 1.
|
|
|
|
|
the first thanks for your ideas, even I am thinking about it because I don't know like up or down items of my listbox with 2 button (up, down) and that user see it.
The idea is can put order in listbox for later print a sheet of route for trucks, the first item will be the first customer for distribute and last item will be the last customer for distribute but doesn't exist a rule to order like asc or desc etc, it must be done by user like he wants.
the idea after listbox is ordered is save this information to table for later print.
Well, at the moment I will be happy to know like can up or down items of listbox with two buttons, later know like save it in array.
I imagine that for sample if the item 7 of my listbox I push 3 times my button of "up" it will be my future item 4 but the problem is that my old item 4 now will be item 5 and my old item 6 will be item 7, haha I am losing myself
Thanks for your ideas
|
|
|
|
|
I found the solve very easy
You only call to this sub from button up
Regards
Sub MoveSelectedItemUp(ByVal Box As ListBox)
Dim Index As Integer = Box.SelectedIndex 'Index of selected item
Dim Swap As Object = Box.SelectedItem 'Selected Item
If Not (Swap Is Nothing) Then 'If something is selected...
Box.Items.RemoveAt(Index) 'Remove it
Box.Items.Insert(Index - 1, Swap) 'Add it back in one spot up
'Box.SelectedItem = Swap 'Keep this item selected
End If
End Sub
|
|
|
|
|
Hi Everybody!
I've recently started using ASP.NET in my web development jobs and am now stuck on a security issue.
I have account information stored in little files on my web server, each with the extension ".siteuser". If I type the URL of the file into the address bar, the file is downloaded and everything including contact details and phone numbers are right there in the file.
My question is, how can I configure my server (ASP.NET 3.5) to allow access to these files server-side and forbid clients from downloading them right to their computers?
Thanks!
MrWolfy
|
|
|
|
|
Put the folder where .siteuser files are located in App_Data folder. No file in App_Data can be browsed directly.
|
|
|
|
|
A very poor answer. That is not want App_Data is for and there are better methods to accomplish what the OP needs
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
MrWolfy wrote: how can I configure my server (ASP.NET 3.5) to allow access to these files server-side and forbid clients from downloading them right to their computers?
ASP.Net web.config
MrWolfy wrote: I have account information stored in little files on my web server
Not a good thing, you should use a secure database.
|
|
|
|
|
MrWolfy wrote: I have account information stored in little files on my web server
As davey suggested, keep sensitive information in database.
MrWolfy wrote: how can I configure my server (ASP.NET 3.5) to allow access to these files server-side and forbid clients from downloading them right to their computers?
Here is the solution,
http://forums.asp.net/p/1474362/3423008.aspx[^]
|
|
|
|
|
Wow!
Thanks to everybody who answered! You were quick to reply and completely solved my problem!
Thanks Again!
MrWolfy
|
|
|
|
|
Hi,
I have two calendar extendars and two textboxes for fromDate and toDate in my project.When project runs,current date will be shown as default in two textboxes.What will i do for this?
|
|
|
|