Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

Ponzano Paolo

@Ponzano Paolo
About
Posts
28
Topics
21
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • What are the best practice for Web UI Development??
    P Ponzano Paolo

    Hello to everybody, I'm just starting a new asp.net 3.5 web project, I was looking on the net for the best practice on Web UI navigation but I found no valid solution... I was looking for guidelines or full commercial template on how the Web UI should look like... I mean the navigation, the menu organization and so on... For the architecture I was driven to develop a standard : Web-UI -> WebServices (Core Level) -> DB Thanks in advance Paolo

    Web Development asp-net csharp database design architecture

  • which dll to operate with DNS Service?
    P Ponzano Paolo

    Hello, I need to work with DNS primary lookup zone, rigth now I'm doing it by calling shell, anyone knows which dll should I use to add/remove records? Thanks in advance Paolo

    C / C++ / MFC linux question

  • DNS Forward Lookup and Windows 2008 Server DataCenter
    P Ponzano Paolo

    Hello to everyobdy, I just want to know how many DNS entries can be stored inside a Forward Lookup Zone (Primary)... thanks in advance Paolo

    System Admin sysadmin

  • How to use jquery to notify ASP an event has happened
    P Ponzano Paolo

    Hello to everybody, I'm currently developing a 2 level menu using jQuery... I load data from a Webservice and populate the toplevel item and sublevelitems... my webapplication is made of ascx and I've got a main page that load the ascx, I was wondering if there's a way using jQuery to notify the server that a menu item has been clicked ( I tried creating an ajax asp.net server control menu but got lost, so I moved to jQuery)... Thanks in advance Paolo

    ASP.NET csharp javascript asp-net sysadmin tutorial

  • Custom Control with different Templares...
    P Ponzano Paolo

    Hello to everybody, I'm currently writing my first "serious" Server Control, I have written a dual layer tabbed Menu (not ajax).. it's almost finished but today I discovered we'll have two different menu based on user credential. I'll use it into a MasterPage and it will be present in all the pages I've developed. How can I make something as some ASP.NET control do? for example

    <cc1:ServerControl1 runat="server">
    <CaseAdmin>
    <TopLevelItems>
    <TopLevelItem Text="First Item - Admin">
    <TopLevelItem Text="Second Item - Admin">
    </TopLevelItems>
    </CaseAdmin>
    <CaseUser>
    <TopLevelItems>
    <TopLevelItem Text="First Item - User">
    <TopLevelItem Text="Second Item - User">
    </TopLevelItems>
    </CaseUser>

    Is somewhere an example on how to do this? Thanks Bests Paolo

    Web Development tutorial question csharp asp-net sysadmin

  • Multiple Gridview mantaining LINQ relationships
    P Ponzano Paolo

    Hello, I try to explain as best as I can what I'm trying to do: 1)I'm writing a web app using ASP.NET / FW 3.5 and LINQ to SQL. 2)I've got a table called Categories {id, description} and SubCategories {id,parentid, description} 3)I've got two gridview binded to the tables above with LinqDataSource (tried with a single data source and 2 different one) Even if on db there's a relationship between Categories and SubCategories I can't find an easy way to have the second gridview (the subcategories one) binded to the first one. right now I'm doing the "binding" between the two manually, getting the selected row from first and digging to get the id, but I don't like it much, since sometimes category grid view loses the selectedrow property. Is somewere an example or tutorial about how can I do it in the best way? Thanks Bests

    ASP.NET csharp database tutorial question css

  • Localizing a text file
    P Ponzano Paolo

    Hello, I try to explain you my situation : I've got a web application (vs2008 and fw 3.5),I've also got a file.txt I've added under App_GlobalResources called resistrationBody.txt, my questions are : 1) how can I read this file from resources (not being this file a .resx file) 2) can I localize it as it can be done with .aspx.en.rex file? Thanks Paolo Ponzano

    .NET (Core and Framework) question

  • .NET remoting and calling a Constructor with parameters
    P Ponzano Paolo

    hello Pete, I've tried with this : myDBHelper = (DBHelper)Activator.CreateInstance(typeof(DBHelper), new object[] { idCup, idSeason, idMatchCode }); but I get this error : {"Cannot run a non-default constructor when connecting to well-known objects."} Getting bored.... with CAO object I'm able but I got the memory used by the server increase a lot and won't free in any way... Thank

    .NET (Core and Framework) csharp sysadmin help tutorial question

  • .NET remoting and calling a Constructor with parameters
    P Ponzano Paolo

    Hello to everybody, I need to use .NET remoting to create a remote object with a 3parameter constructor, I'm not able to find an example, can anyone provide me a working example? I've also tried to call a parameterless constructor then using the properties but I got the error below: myDBHelper = (DBHelper) Activator.CreateInstance(typeof (DBHelper)); myDBHelper.IdCup = 1; <- //The server committed a protocol violation. Section=ResponseStatusLine int i = 0; Thanks Paolo

    .NET (Core and Framework) csharp sysadmin help tutorial question

  • How to use ObjRef.GetRealObject() function
    P Ponzano Paolo

    Hello to everybody, I was wondering how to use this function to have the Real Object instead of the trasparent proxy one. I'm asking this since I wish to use .NET remoting to remotize a SQLDataReader. Last Time I tried I have a really bad performance, since each single sdr.Read() returns to the remote object and then to the calling client, with a really high time overhead. I've seen that ObjRef has got this method : GetRealObject(StreamingContext context), it's possible to use it in the code or it's used just when overriding it? if yes, where I get this StreamingContext? Thanks Paolo

    .NET (Core and Framework) csharp performance tutorial question

  • DataGridView and Generics
    P Ponzano Paolo

    ok, now that the problem has been fixed we've another one that came out, and for this I need your help at all!!! This is the main form event : private void Form1_Load(object sender, EventArgs e) { myWorker = new Worker(); dataGridView1.ReadOnly = false; dataGridView1.DataSource = myWorker.myList; Thread myThread = new Thread(new ThreadStart(myWorker.DoWork)); myThread.Start(); } The Worker class is this one : public class Worker { public BindingList myList = new BindingList(); public void DoWork() { Random r = new Random(); for(int i=0; i<1000; i++) { myList.Add(new Product("Test",r.Next(),r.Next())); Thread.Sleep(1000); } } } At the myList.Add(...) I get an exception of type "Cross-thread operation not valid: Control '' accessed from a thread other than the thread it was created on." But this happen in a Business Object not in a Window's Control. I suppose this's because of the datagridview.Datasource property set, but how can I fix it? Thanks in advance, Bests

    Windows Forms help question

  • DataGridView and Generics
    P Ponzano Paolo

    First of all, thanks to all of you for your answe, I've resolved it using BindingList instead of List, now I've a problem of cross-threading but I'm gonna take care of it! Thanks again Paolo

    Windows Forms help question

  • DataGridView and Generics
    P Ponzano Paolo

    so what should I do? Thanks Paolo

    Windows Forms help question

  • DataGridView and Generics
    P Ponzano Paolo

    Hello to everybody, I've got a problem with datagridview and generics, here's the piece of code : dataGridView1.ReadOnly = false; List myProds = new List(); myProds.Add(new Product("Prod 1", 1, 1)); myProds.Add(new Product("Prod 2", 2, 2)); myProds.Add(new Product("Prod 3", 3, 3)); dataGridView1.DataSource = myProds; myProds.Add(new Product("Prod 99", 99, 99)); on video I've 3 rows but in the datagrid.datasource I've 4 items. Where do I do wrong? Thanks in advance Paolo Ponzano

    Windows Forms help question

  • Docking a DialogBox into main form
    P Ponzano Paolo

    thanks for your reply, and what should I do about the left one? size it to 0? as I've asked before how do I get the parent control? have I to pass it as parameter to constructor of the dialogbox? Ho do I get it from main form? Thanks Bests Paolo Ponzano

    Windows Forms question

  • Docking a DialogBox into main form
    P Ponzano Paolo

    Thanks a lot, how do I get the Main form control in order to do dialog.parent = mainformcontrol ? Thanks

    Windows Forms question

  • Windows Service and HTTP Page
    P Ponzano Paolo

    Hello to everybody, I've ben asked to create an aspx page that reads data from a Windows Service, not a Web Service, is it possible? any idea on how I can create such application? Thanks Bests, Paolo

    .NET (Core and Framework) question

  • Docking a DialogBox into main form
    P Ponzano Paolo

    Hello, maybe it's a stupid question, I had a form that before was shown as DialogBox with DialogBox.ShowDialog();, now my boss want me to dock it on the right side of the main application, how can I do that? Thanks in advance Paolo

    Windows Forms question

  • Wich tool do you use for static code analisys?
    P Ponzano Paolo

    Hello to all, I've used for a while FXCop for finding error coding and exception not catched, what other program do you use to do off-executing analisys for application (in my case windows application). Do you know if there're some program like Devparter but costs less? I mean memory profiling with graph and so on, thanks Paolo Ponzano

    IT & Infrastructure performance css data-structures debugging help

  • .Net remoting, registering two channel? how???
    P Ponzano Paolo

    I've fixed it, I've used: IDictionary pros = new Hashtable(); pros["port"] = tcpPort; pros["name"] = type; IChannel ic = new TcpChannel(pros, null, null); and I had to substitute RemotingConfiguration.RegisterActivatedClientType(typeof(DBHelper), sb); with RemotingServices.Connect(typeof (DBHelper), sb); Seems to work, do you know if there's still something I've to do? Thanks

    C# csharp help question workspace
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups