Click here to Skip to main content
15,897,291 members
Home / Discussions / C#
   

C#

 
GeneralRe: About Reflecting and generics Pin
PozzaVecia16-Feb-12 0:05
PozzaVecia16-Feb-12 0:05 
QuestionTeam Project Pin
tryharder14-Feb-12 10:23
tryharder14-Feb-12 10:23 
QuestionResponse.TransmitFile not working on local network Pin
Member 342693614-Feb-12 5:08
Member 342693614-Feb-12 5:08 
QuestionC# 2010 - Sql SMO Backup ? Pin
Paramu197314-Feb-12 4:20
Paramu197314-Feb-12 4:20 
AnswerRe: C# 2010 - Sql SMO Backup ? Pin
Eddy Vluggen14-Feb-12 7:26
professionalEddy Vluggen14-Feb-12 7:26 
GeneralRe: C# 2010 - Sql SMO Backup ? Pin
Paramu197314-Feb-12 18:45
Paramu197314-Feb-12 18:45 
GeneralRe: C# 2010 - Sql SMO Backup ? Pin
Paramu197314-Feb-12 22:32
Paramu197314-Feb-12 22:32 
QuestionInfoPath 2010 with C# code entered data disappearing Pin
Member 864367514-Feb-12 4:15
Member 864367514-Feb-12 4:15 
Hi, I am new to InfoPath, and I am having an issue with a web-based form. I have a Rich Text Box that is in a repeating section that is
bound to an XHTML field. This is not in the main/default view, and the user can submit the form from the main/default view and from the
sub-view with this control in it. When the user adds more than one of these Rich Text Boxes to the form, the data that has been entered into
the field isn't always saved. I have, however, never seen the first time not be saved.

Scenario 1:
user enters text into the Rich Text Box. Then clicks the submit button. The text in the first Rich Text Box keeps the user entered text as
expected. The user then adds another field, enters text, and clicks submit. The form then saves, however, the newly entered text in the
Rich Text Box sometimes changes to "", and sometimes the text in the Rich Text Box stays as the newly entered text as expected

Scenario 2:
After clicking submit and the data stays as expected, the user then wants to change the value that is in the Rich Text Box. The user enters
new data in the Rich Text Box and presses submit. The form then saves, however, sometimes the text in the Rich Text Box changes back to
the data that was there previous to the user's changes, and sometimes the text stays as the newly entered text as expected.

This seems to be a random error. It sometimes happens on the second entered Rich Text Box and sometimes doesn't happen until the
4th or 5th. This error doesn't happen when debugging the form in infopath. The C# code I am using to debug this issue is on the submit
button clicked event.

XPathNavigator domNav = MainDataSource.CreateNavigator();
                XPathNodeIterator rows = domNav.Select
("/my:myTipLead/fxintakerequest:IntakeRequest/fusionx:AnalystNotes/fusionx:AnalystNote/fusionx:NoteText"
, NamespaceManager);
                while (rows.MoveNext())
                {
                    EventLog.WriteEntry(ERROR_SOURCE, "node value = " + rows.Current.Value);
                } 


The event log show all of the times it acted as expected. When it fails to save the text entered, the event log has all of the previously entered Rich Text Box data and the newly entered Rich Text Box entry says "not value = ". I'm assuming that the text is never getting into the field. Any help would be much appreciated. Thank you!!

P.S. I know this isn't exactly a C# issue. I posted it in the SharePoint forums becuase we are using SharePoint to host our forms, and I was told that this was not a SharePoint issue. I'm not exactly sure where to post this question
Questionhow can i create textBox in C# with email autocomplate exactly like "outlook To field" Pin
A7mad_14-Feb-12 1:41
A7mad_14-Feb-12 1:41 
AnswerRe: how can i create textBox in C# with email autocomplate exactly like "outlook To field" Pin
Bernhard Hiller14-Feb-12 2:19
Bernhard Hiller14-Feb-12 2:19 
GeneralRe: how can i create textBox in C# with email autocomplate exactly like "outlook To field" Pin
GParkings14-Feb-12 2:28
GParkings14-Feb-12 2:28 
AnswerRe: how can i create textBox in C# with email autocomplate exactly like "outlook To field" Pin
Pete O'Hanlon14-Feb-12 2:21
mvePete O'Hanlon14-Feb-12 2:21 
GeneralRe: how can i create textBox in C# with email autocomplate exactly like "outlook To field" Pin
A7mad_17-Feb-12 23:32
A7mad_17-Feb-12 23:32 
AnswerRe: how can i create textBox in C# with email autocomplate exactly like "outlook To field" Pin
Shameel14-Feb-12 2:26
professionalShameel14-Feb-12 2:26 
QuestionListbox in user control is hiding in the tablelayoutpanel control Pin
Ravi Rangari14-Feb-12 1:29
Ravi Rangari14-Feb-12 1:29 
AnswerRe: Listbox in user control is hiding in the tablelayoutpanel control Pin
GParkings14-Feb-12 2:05
GParkings14-Feb-12 2:05 
GeneralRe: Listbox in user control is hiding in the tablelayoutpanel control Pin
Ravi Rangari14-Feb-12 16:33
Ravi Rangari14-Feb-12 16:33 
GeneralRe: Listbox in user control is hiding in the tablelayoutpanel control Pin
GParkings14-Feb-12 23:52
GParkings14-Feb-12 23:52 
GeneralRe: Listbox in user control is hiding in the tablelayoutpanel control Pin
Ravi Rangari16-Feb-12 0:11
Ravi Rangari16-Feb-12 0:11 
QuestionGetHashCode override for a value wrapper. Is mutable ok? Pin
GParkings13-Feb-12 23:32
GParkings13-Feb-12 23:32 
AnswerRe: GetHashCode override for a value wrapper. Is mutable ok? Pin
BobJanova14-Feb-12 0:42
BobJanova14-Feb-12 0:42 
GeneralRe: GetHashCode override for a value wrapper. Is mutable ok? Pin
GParkings14-Feb-12 0:48
GParkings14-Feb-12 0:48 
GeneralRe: GetHashCode override for a value wrapper. Is mutable ok? Pin
Daniel Grunwald15-Feb-12 0:37
Daniel Grunwald15-Feb-12 0:37 
AnswerRe: GetHashCode override for a value wrapper. Is mutable ok? Pin
PIEBALDconsult14-Feb-12 2:47
mvePIEBALDconsult14-Feb-12 2:47 
GeneralRe: GetHashCode override for a value wrapper. Is mutable ok? Pin
GParkings14-Feb-12 2:56
GParkings14-Feb-12 2:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.