我得到tab的例外Tab公式,t4無效。公式= [t2] + [t1]:標籤標籤必須是唯一的。公式字段例外:Tab公式無效
我有複選框,一個基金名稱和數額投資於基金。 如果用戶選中複選框,他需要填寫金額框中的金額,並且根據金額框輸入金額計算總金額。
Evertything工作正常,但只有問題是與公式字段。它拋出一個異常公式是無效的。
下面是我使用什麼顯示計算:
var fullAnchor4 = new Tab
{
Type = TabTypeCode.Custom,
CustomTabType = CustomTabType.Formula,
CustomTabTypeSpecified = true,
AnchorTabItem =
new AnchorTab
{
AnchorTabString = "tbx4_1_text",
XOffset = -10,
YOffset = -5
},
CustomTabWidth = 100,
CustomTabWidthSpecified = true,
Formula = "<formula>[t2]+[t1]</formula>"
};
fullAnchor4.DocumentID = "1";
fullAnchor4.PageNumber = "1";
fullAnchor4.RecipientID = "1";
fullAnchor4.TabLabel = "t4";
fullAnchor4.RoundDecimalPlaces = 2;
runningList.Add(fullAnchor4);
是不是我做錯了什麼?
編輯 -
附加原始請求。刪除敏感信息
http://wikisend.com/download/218254/RawRequest的1.txt
非常難通過查看源代碼來診斷,請發表的原始請求主體,這實際上造成的。你可以使用像Fiddler這樣的工具來捕捉它。 – Ergin 2015-03-25 17:08:01
下面是正在生成的rwa請求http://wikisend.com/download/417196/RawRequest.txt]RawRequest.txt – opto 2015-03-26 12:06:11
這是更改後的請求Formula =「[t2] + [t1]」http: //wikisend.com/download/417196/RawRequest.txt]RawRequest1.txt – opto 2015-03-27 10:37:10