CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > general_asp.net.web_parts_and_personalization Tags:
Item Type: Date Entered: 6/3/2007 2:13:35 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 3 Views: 39 Favorited: 0 Favorite
4 Items, 1 Pages 1 |< << Go >> >|
"deodar" <>
NewsGroup User
the webpart is added two times on one page,how to find each of them6/3/2007 2:13:35 AM

0

Dear,

     I have a webpart , it's function like a html editor, I can add news in it,and the webpart can store the news in database.

The problem is I add the webpart on one page two times, I want each webpart display different contents. But I don't

know how to tell them from each other. How I can store them in database, and when webpartmanager load them from

each other.

 

   please help me ,thanks.

"Nai-Dong Jin -
NewsGroup User
Re: the webpart is added two times on one page,how to find each of them6/6/2007 6:19:09 AM

0

Hi,

I'm not clear what you really need. You mentioned you can add news in the two webparts which seems like a html editor and the webpart display different contents, does the content come from database and the user and modify the content and update it? If so, you can write different query statements in each webpart and write a shared update method with a parameter to identify the different updating request from each webpart.

Thanks.


Sincerely,
Michael Jin.
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
"deodar" <>
NewsGroup User
Re: the webpart is added two times on one page,how to find each of them6/7/2007 12:49:57 AM

0

Thank you very much!!!Big Smile

I have found the way to solve the problem, I add a   [Personalizable, WebBrowsable] attribute to make the html editor webpart different.

 

 

"Nai-Dong Jin -
NewsGroup User
Re: the webpart is added two times on one page,how to find each of them6/7/2007 2:05:00 AM

0

Well Done! Big Smile


Sincerely,
Michael Jin.
Microsoft Online Community Support

?Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ?
4 Items, 1 Pages 1 |< << Go >> >|


Free Download:













how to write a polls webpart

allowzonechange...eventhandler?

webpart customization

aspnet and custom tables

web parts does not show minimize/close buttons

programatically insert a catalogpart

getallprofiles - initialize not called in time?

enums

webparts propertygrideditorpart example

how can i show web parts based on a user role

to profile or not to profile

asp.net 2.0 profile

refresh problem

adding catalog parts to catalog zone programmatically

copying a webpart instead of drag&drop?

save webpartzone width after posting

get code from an aspx file (with webparts) and save it as a html

disabling edit option

how to change font-size of web part part title -> is a buggger of microsoft?

accessing user profile properties for every user of the system, not just he/she whom is logged in.

import sharepoint web parts in asp.net

webpart title link

can i implement close verb programmatically?

utilizing skins to define display of web part data source

free controls inside a webpartzone

this must be so simple?? add a custom control to a webpartzone programatically?

how to develop web part in local pc and then deploy to sharepoint 2007?

accessing uniqueid/clientid during onunload changes clientid/uniqueid of all controls in a usercontrol

a question about id of webpart. thanks

how to open closed webpartzone ?

web parts decides to take ciesta

re: sqltableprofileprovider and defaultvalue

background image for web part titles

webpart child control event (click) fails

webpaerts personalization

how to launch asp .net configuration server

exception when exporting web parts

webparts - parttitlestyle

mysql db and webparts

create a banner

can a dataview be added to a profile?

assigning edit & view roles to webparts

how to disable drag and drop in webpart?

very simple example doesn't work

webpats - disallow drop

personalization

and the propertygrideditorpart?

profiling and web services

cannot debug web parts -page on my local machine

webpart in a assmybly / deployment problem

   
  Privacy | Contact Us
All Times Are GMT